From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Wireless Sensor Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

WSN Report error

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

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Message 1 of 3
(5,301 Views)

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

0 Kudos
Message 2 of 3
(5,285 Views)

Thanks for your reply, already installed, WSN module pioneer, and greatly facilitates programming.
Greetings.

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Message 3 of 3
(5,277 Views)