11-02-2025 08:27 PM
Hi, I have a task where I need to use the same program in two computers (both being in the same network) to do a simple task like turning on and off one or more leds, where a computer can interact with the program and it would be reflected in the other and viceversa. I´ve been using data communication options like shared variables and UDP with no success, so I would like to know an alternative or tools (like structures) that could allow this communication to be possible.
Thanks.
11-02-2025 09:28 PM
Post your LabVIEW code (even if it doesn't work). We need to know more precisely what you've tried in order to help you accomplish your goal.
Bob Schor
11-02-2025 11:25 PM - edited 11-02-2025 11:26 PM
Sorry for the late response, but here are the codes I've tried to get to work.
11-02-2025 11:26 PM
@Max_Power_IT wrote:
Sorry for the late response, but here are the codes I've tried to get to work.
where?
11-02-2025 11:31 PM
I edited the reply, apparently they didn't load at first
11-03-2025 01:06 AM
11-03-2025 03:59 AM
To learn about TCP and UDP communicatiion, go to the examples
Help>>Find Examples>>Networking>>TCP & UDP
(examples\Data Communication\Protocols\UDP\Simple UDP)
There are projects ready to run with explanations why they work the way they do.
Here is your UDP VI with error handling, proper ports and ip address:
UDP tx, rx