LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variable between 2 LabVIEW executables over the network

Solved!
Go to solution
Hello, i need to create network shared variables, accessed by two executables (built with LabVIEW 8.6) running on two differents computers, on a local network. The deploy library invoke node returns an error when using another ip address than localhost ; further more, it's not clear to me what i have exactly to do (which executable deploys the library, on what target, activate binding or not, so on...). Thanks for any help if you already managed to make such a communication working properly...
Vincent
0 Kudos
Message 1 of 4
(5,317 Views)

Hi VdG,

i would use the TCP/IP (you will find examples in the example finder -> search for tcp) functions for that. Then you can decide which program is server and which is client. You can combine it with STM or you use your own data protocoll to transfer your data.

For more information about the shared variable, see this link please.

 

Hope it helps.

Mike

Message Edited by MikeS81 on 01-27-2009 04:58 PM
0 Kudos
Message 2 of 4
(5,314 Views)

You should be able to do this. I would recommend you to go through the following documents:

How do I Communicate Between Multiple LabVIEW Executables using Shared Variables?
Using Shared Variables in Executables
How do I Deploy Network Shared Variables from a Compiled Executable?

 

If you have any questions after that, let us know.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 3 of 4
(5,303 Views)
Solution
Accepted by topic author VdG
Thanks for the answers. I've already found the last two papers but the first one is the more interesting : if i do have to put the two applications sources into one project, i will switch to another solution (data sockets or TCP as suggested by Mike). The two original projects are big ones, and merging them would lead to such a huge thing !
Vincent
0 Kudos
Message 4 of 4
(5,276 Views)