LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I take 2D data from a main program and write it to another program using data socket?

I tried having the data write to a global variable and then read the data from the global variable in the other vi program. The update performance slows dramatically. If I use data socket to transfer the data will it increase the performance? If I do use data socket how can I take the data from one program and write it to the other to update my fromt panel displays?
0 Kudos
Message 1 of 2
(2,700 Views)
Datasocket will be even slower. To get a chuck of data from one VI to another asynchronously, use a queue or LV2-style global (functional global).

See the LabVIEW Design Patterns article for more information.

http://zone.ni.com/devzone/conceptd.nsf/webmain/C54BADADD8BBDE4286256C5200533B80?opendocument&node=200068_us

Remember that Alliance members are here to help. We do this stuff every day.

Daniel L. Press
PrimeTest Corp.
www.primetest.com
0 Kudos
Message 2 of 2
(2,700 Views)