01-31-2007 05:21 PM
02-01-2007 01:32 AM
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. Put 10 copies of the VI on your diagram and wire a different IP address to each one!
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.
Cheers!