Overview This VI shows how to programmatically deploy WSN Application image to multiple WSN Nodes
Description National Instruments wireless sensor network (WSN) measurement nodes offer low-power, reliable operation for long-term, distributed deployments. With the LabVIEW Wireless Sensor Network (WSN) Module Pioneer, you can use graphical programming to customize the node’s behavior, adding intelligence to extend battery life; increase analog and digital input performance; perform local control, analysis, and data reduction; and interface with custom sensors. You can download LabVIEW WSN applications wirelessly to NI WSN measurement nodes, allowing seamless updates to deployed nodes.
When working with a large Wireless Sensor Network, one can reduce deployment time by programmatically uploading a WSN application image to multiple WSN nodes using the powerful WSN Host API. In specific, the implementation of WSN Deploy Firmware.vi helps deploy a WSN application image to all programmable WSN nodes registered to a programmable WSN Gateway cutting down the deployment time of large WSN test beds.
*Multiple WSN image deployment can only work if all programmable WSN nodes are the same model.
Attached is a project containing a sample VI which uses the WSN Deploy Firmware.vi to update all registered programmable WSN nodes.
Register all programmable WSN nodes on your WSN Gateway using Measurement & Automation Explorer.
In the Project Explorer of LabVIEW, build the application on the first WSN node which will generate a <Your Application Name>.pkg file in your project directory .../<Your Project Name Folder>/<WSN Gateway>/<Node>/<WSN Application Name>/<Your Application Name>.pkg
Upload via FTP the *.pkg file to the programmable WSN Gateway.
Open, configure, and run WSN9792Main.vi. Make sure to specify the correct location of the *.pkg file in relation to the programmable WSN Gateway.
The VI will scan for all registered programmable WSN nodes on the gateway and it will upload the *.pkg firmware image to all. The VI will stop execution until the very last programmable WSN node has been uploaded with the firmware.
Additional Information or References VI Block Diagram
WSN node on Measurement & Automation Explorer
**This document has been updated to meet the current required format for the NI Code Exchange.**