06-18-2012 09:20 AM
Good afternoon, I would ask, what is the best code, when my device is disconnected NI 3202 WSN WSN NI 9791.
When disconnected or without signal, the program continues to run. How can I change this?
Regards
06-26-2012 02:36 PM
Hi Hugo,
If you would like your Test.vi to stop running when a node disconnects then you will have to add some logic that will determine if the node has disconected and then stop your while loop. There are numerous ways this can be accomplieshed but a simple way could be to check the timestamp of the channels you are checking and if more time elapses than you have your sample interval set for you can stop the while loop. With this method you will not need NI LabVIEW Wireless Sensor Network Module Pioneer.
Cheers,
Brian A
R & D Product Support Engineer | WSN/Network DAQ/Academic
06-26-2012 05:52 PM
Thanks for your reply, already installed, WSN module pioneer, and greatly facilitates programming.
Greetings.