LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer value from one VI to another over a network?

Hi,
 
What is the best/easiest way to send a numeric value from one VI to another over a LAN.  I only need one number to be sent every time the first vi is run which won't be that many, I then need to run the other VI and access that data.  I could save the value to file and then open that file from the other VI, this I thought is a bit messy and wondered if LabVIEW accommodates this through property nodes etc rather than writing to file?  Also by saving to file etc the reading VI needs to execute after the first one has written obviously, this could cause timing issues and to have something like a property node would be far better.
 
Many Thanks 
0 Kudos
Message 1 of 2
(2,126 Views)
Use DataSockets. The simplest, although not necessarily the fastest.


Check out the examples.


Basically, you "connect" a control on one VI (on one machine) to another control (possibly on different VI, possibly on different machine.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 2
(2,121 Views)