LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Current (LV2012) best way to serve data across platforms

I'm interested in hearing what people would regard as the current best way do the following:

 

I'd like to publish data from labview in a format that can be read over a network across platforms. The data should be not just be visible, but it should be fairly simple for someone writing their own code, say on a Unix machine, to integrate this data into their programs. Some more specific are probably in order. In its simplest form we would like to transfer a 1d array of doubles (say of length  30) plus an image file (say 600x400 pixel jpeg) and update about every 5 second. The "client" would just read this data in at need, and there is no requirement that the client be able to access data other than the current data cluster at the moment it read the data -  unread data is just thrown away when the next update arrives. Is a webservice the only/best way to do this at this time?

0 Kudos
Message 1 of 3
(2,221 Views)

you might want to check Shared Variables (OPC)

 

A stupid thought maybe, but File IO is always a possiblity as well, might not be the best one, but will certainly work....

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 2 of 3
(2,205 Views)

A text file is probably the most universal. At a rate on once every five seconds this should be fine.  You might need to use two files in an alternating mode so that the client does not try to read a file while the server is writing to it.

 

Lynn

0 Kudos
Message 3 of 3
(2,190 Views)