LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dyanmic data exchange

Solved!
Go to solution

Hi Friends

I want to create server and client using dyanmic data exchange technique in labview...The data will be continuously updated to server and the have the permission to only see that data...I can i  implement this..like what are the basics of dynamic data exchange and to to make a program in labview...

Abhimaniu
0 Kudos
Message 1 of 5
(3,012 Views)

LV does support DDE and there are examples for how to use it. However, you should only use it as a last resort because it is a very old protocol and there might be much better solutions available. What are you wanting to communicate with from LV?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(2,989 Views)
Solution
Accepted by topic author Abhimaniu

The DDE functions are still present in newer versions of LabVIEW, although National Instruments recommends that you use ActiveX. If you want to use DDE, the functions are located in:

labview\vi.lib\platform\dde.llb

In order to add this Library to your LabVIEW functions palette you can copy the dde.llb file into:

labview\vi.lib\addons

This will make all the functions appear in the addons section of the functions palette.
 
Refer to the Using DDE in LabVIEW for Windows Application Note (linked below), available by selecting Help»View Printed Manuals, for more information about using DDE.

 

 

Please check the following links -

http://zone.ni.com/devzone/cda/tut/p/id/4531

 

Thanks

Pranchal

National Instruments

0 Kudos
Message 3 of 5
(2,959 Views)

Hi Mike

Actually i am expecting continuous telemetry data from some other pc. In my pc i want to acquire that data in real time and my program in labview should have access to that data whenever the program is called.\

So i will have two independent programs in labview,one that continuously acquire the telemetry data and otherwhich when called(run) can see the real time data f former program.

So can you suggest me how to implement this client server model efficiently using DDE other better option in labview 7.1.

Abhimaniu
0 Kudos
Message 4 of 5
(2,933 Views)

If you are going to be writing both end in LV, I would suggest using VI server. To make the connection, create a functional global that you write from one computer and read from the other computer.How fast is the data being acquired? How much data is there?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 5
(2,901 Views)