Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

i need an example of how to use labview as a dde client

i would like to request data from a dde server with labview as client and next to execute a command. Should i ude TCP to open the communication and read the data? If yes what kind of adress should i enter in the vi TCP open communication?
0 Kudos
Message 1 of 3
(4,120 Views)
TCP and DDE are two separate things. If your server was using TCP to sent information, you wouldn't need DDE and vice versa. LabVIEW has a set of DDE functions (at least through v7) but they're not shown on any of the palettes. In \vi.lib\platform, there should be dde.llb with functions like DDE Open Conversation and DDE Request to get data from a server. There are two shipping examples that demonstrate dde and both use Access. They are Retrieving Data from Access and Sending Data to Access. there may be additional examples on NI Zone so you could try doing a search there. I haven't used DDE in several years so I'm afraid that I can't help more than this.
Message 2 of 3
(4,120 Views)
Hello,

In addition, you will find a lot of details on DDE communication under LabVIEW in the tutorial below:

* Using DDE in LabVIEW (Windows Only)
http://zone.ni.com/devzone/conceptd.nsf/webmain/14134D7CE042EDBF86256A3A006BD87C?opendocument

Regards.

Matthieu Gourssies
National Instruments France.
0 Kudos
Message 3 of 3
(4,120 Views)