LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WSN Nodes: how to temper reconnection attempts

Hi,

 

I'm working on a project involving the NI WSN measurement node 3226 and the NI WSN Gateway 9792.

 

Both the gateway and the measurement node are running on battery so current consumption of both devices is critical.  

 

Let's say I must get values from the measurement node every 10 minutes. My ideal scenario is as follows:

 

1) I wake up the gateway

2) The node has been previously configured to check network availability every 30s. So maximum 30s after the wake up of the gateway, the node should be connected.

3) The gateway configures the measurement node (Sample rate, type of acquisition,...) and get measurement values from the node.

4) The gateway is shutdown

5) The node detects that the network is down and goes back to checking every 30s for network availability.

 

And then back to step one.

 

==> However I don't know how to configure the rate at which the node will check for network availabilty.

 

It seems that the node comes with some kind of preconfigured state machine:

WSN state machine.png

 

But i don't know how to influence the timing of this state machine. My goal woud be to set the duration of the sleep state to 30s when the network is not connected.

 

Does anyone know how to do that?

 

Thanks

 

Regards,

 

peper

 

 

0 Kudos
Message 1 of 1
(2,475 Views)