LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create network in labview

i have four devices using the same application by Labview (same .vi) and i want to make 

one of them control other device (one as Master and others as Slaves)

now , is any package i need to add it to my application to provide authority for master device to control some numeric controls at slaves devices .

(devices connected via Lan network )

 

thanks

0 Kudos
Message 1 of 3
(2,690 Views)

You'll need to pass communication between them likely with something like network streams or tcp calls

0 Kudos
Message 2 of 3
(2,665 Views)

A one to many network relationship would be a good candidate for network variables, especially if everything is LabView based.  Or you can spin your own using multicast UDP.  All built into basic LabView.

 

In my application, I use both network variables and the LabView CVT/CCC.  CVT/CCC is tricky because CCC is actually a 1:1 TCP connection using the STP packages.  So, handling multiple connections between the master and slave CCC instances is needed.

 

So many choices... The KISS principle is important so if you're just using a vew variables, network variable (Shared variable engine) is really the way to go.  I use those for top level status and control (EX: Master tells slaves to switch modes or perform a hard stop, slaves tell the master their status).  CCC is used for everything else (Hundreds of variables).

0 Kudos
Message 3 of 3
(2,618 Views)