03-12-2017 05:09 PM
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
03-12-2017 06:09 PM
You'll need to pass communication between them likely with something like network streams or tcp calls
03-13-2017 10:24 AM
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).