12-03-2020 06:45 AM
Hello,
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.
Thanks
12-03-2020 07:26 AM
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.
12-03-2020 08:50 AM
Thank you for your response, I will have a look at it.