From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-27-2011 04:00 PM
On an NI WSN-3202, Is there any way to increase the time between activation of sensor power and the time an analog reading is taken? I presently have the devices set for 250ms, but I would like to have the power turned on a good 2-3 seconds before a reading is taken. Is there any way to facilitate this, perhaps through a custom firmware update?
Solved! Go to Solution.
09-30-2011 02:53 PM
Hi edsel456,
This can be accomplished by using a sequence structure. The valid sensor power settings are 0ms, 25ms, 100ms, 250ms, Always On. So, since we don't have 2-3 seconds, we'll have to perform a workaround. You can set the property node of the sensor power to "Always on", then wait 2 or 3 seconds, take the sample, then set the sensor power back to "Always off" to conserve battery power.
Regards,
10-04-2011 08:24 AM
Hi Che,
Thanks for the input.
I don't see an "Always Off" option in the enumerated constant that appears for Sensor Power. How can I be sure the sensor power actually turns off when the node exits the sample state? Should I just set it back to 0ms in the next frame of the sequence?
Thanks,
-Mat
10-05-2011 10:46 PM
Hi Mat,
It may depend on the node. Whenever I do it on my WSN 3202, it does not have a Sensor Power property available. However, on my WSN 3226, the property is available with the enumeration. Can you post a screenshot of what you see?
Regards,
10-11-2011 01:48 PM
Looks the same as yours, just no "Always off." Screen shot attached.
10-12-2011 12:18 PM
Success!
The state machine shown in the attached screen shot does what I need.
Thanks for all the help.
-Mat
10-12-2011 04:08 PM
Hi Mat,
Thank you for the update, and for posting what ended up being an acceptable solution for you.
Regards,
06-28-2012 05:15 PM
Hi I tried to replicaded the same idea but with all 4 channels.
Does the sequence must be in the "sample" state ?
In the default sample state, there is no radio message, just links with shared variable. Do I need to add radio message for it to work ? For the moment, in the first frame I set power as always on, in the second I wait 2 seconds, in the third I put what was in the default sample state and in the last I set power as always off.
Once deployed to the node at the first sample it set the power sensor to always on, but remained in that state, it doesn't switch off the power.
For the moment I can't add a print screen since I wrote from another computer.
Thank you
Mathieu
07-02-2012 10:04 AM
Hi Mathieu,
The radio messages will make sure that you are sending your data back to your host. Please add them to your sequence structure and let us know if that fixed the issue for you. Thanks!
07-06-2012 08:41 AM
Hi,
Thank you for the reply.
I use a wsn-3226. There seems that there is no option to send data with radio message.
Here a print screen of my sequence, it is fairly simple, I don't understand why it's getting stuck in always on power.
I also tried to change the power setting with a user message and it worked. But it is unpracticable, I really need that to work. I use sensor that need to be power up at least 2 sec before sampling.
Thank you
Mathieu