LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to download sw parallely into several units

Hi,
I have urgent question need your help!
I want to download the same sw into several units(10 units) in the meantime using ethernet switch. I want to know if LabView have this ability to do that? If yes, how to do it?
I can telnet the unit through ethernet sw and connect to different IP address(different unit),but how can LabView run them in the meantime, my previous experience seems it can only run one vi in one time, am I right?
 
Thanks
 
0 Kudos
Message 1 of 2
(2,480 Views)

Hi Liu,

      Try to create a VI that can handle one unit at one IP-address/telnet-session.  Create an IP-address Control and associate it with a connector on the connector-pane.  Then make that VI "re-entrant".  When a VI is re-entrant, multiple copies can run simultaneously.  Smiley Happy Put 10 copies of the VI on your diagram and wire a different IP address to each one! Smiley Happy

If your re-entrant VI uses any sub-VIs for communications, those sub-VIs might need to be re-entrant too.  Also be careful if your re-entrant VI writes to any global variables - because all VI-copies (AKA "instances") will be writing to the same global value. Smiley Surprised

Cheers!

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 2
(2,471 Views)