Showing results for 
Search instead for 
Did you mean: 

Shared Variable from desktop to desktop



I am using LabVIEW 2019 and I want to use a shared variable to get some data from Desktop B to Desktop A.


I already found an example (Shared Variable Communication) and this is works on a single desktop. The next step is to add a target I assume. But when I add a target with the IP address of desktop B I get this:


Does anyone know what could be the reason I cannot connect the desktop.


The last step would be that I can easily switch between targets (IP address or Desktop Name) so between Desktop B to Desktop C in the main vi of Desktop A.







0 Kudos
Message 1 of 3

I'm just going to advise against using Network Published Shared Variables.  The are slow, introduce all kinds of weird race conditions, and lack security (anybody on the network can write to them).


Personally, I would set up Project A to be a server that Project B and Project C and connect to via TCP/IP communication.  You can allow for quick communications and/or multiple connections.

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
Message 2 of 3

Thank you for your response, I will have a look at it.

0 Kudos
Message 3 of 3