LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared variable on LAN

Solved!
Go to solution

Have a .llb file with top level user interface,  I need to share a single dynamic variable with another PC in another lab.  The 'writer / server' PC will be running for an extended time before and after the variable is needed on the other machine (client). 

There are several methods to share data; last time i did this was using Data Socket which was not too robust as I recall.

Suggestions and recommend method to use for doing this are welcome.  I do not have a project assembled for the .llb file.

Speed across the network is important but we do have a high-speed network

 

0 Kudos
Message 1 of 4
(2,176 Views)
Solution
Accepted by topic author bonnerupc

My recommendation is to use a simple TCP Client/Server communication.  When the server needs to pass on an update, it sends the message.  If you want a good framework, have a good look at the STM (Simple TCP Message) library.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(2,165 Views)
Solution
Accepted by topic author bonnerupc

Thanks much.  Yet another method to share data...

Looks like a good and simple solution; I'll let you know how it behaves.

Chris

0 Kudos
Message 3 of 4
(2,158 Views)

GREAT method; very clean, simple and fast.

Very much appreciate the link.

 

Chris

0 Kudos
Message 4 of 4
(2,141 Views)