LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

retrieving data from excel using DDE

hello,
   i am just doing a project in labview. since i am new to this labview, i want to know how to extract or retrieve data from microsoft excel using Dynamic Data Exchange in labview. if any one know about this or having an example code please inform immediately.
 
with regards
sarguru
0 Kudos
Message 1 of 4
(2,767 Views)
sarguru,
 
Do you _have_to_ use DDE?  DDE is old and slow and not reliable.  Using the ActiveX interface would be a better option.  Check out the ExcelExamples.llb under examples folder in LabVIEW.

-Khalid

 

0 Kudos
Message 2 of 4
(2,762 Views)

hello khalid,

 its necessary for me to use DDE for this project and i didnt find ana example code to read data from excel file (using DDE also). i have a code for writing excel data using DDE. i will attach the code in this reply so that you can help me to change the code for reading the excel data.

-sarguru

0 Kudos
Message 3 of 4
(2,758 Views)

You will have to use the Advise VIs for reading data.  Look at the examples which ship with LabVIEW: 

examples\comm\ddeexamp.llb

Especially the Advise Client.VI.

-Khalid

Message Edited by Khalid on 10-24-2005 02:07 AM

0 Kudos
Message 4 of 4
(2,751 Views)