To download NI software, including the products shown below, visit ni.com/downloads.
This example allows developers to access network shared variables published by National Instruments Wireless Sensor Network (WSN) hardware programmatically using NI Publish-Subscribe Protocol (NI-PSP) primitives. This does not require installing the NI-WSN drivers or the WSN Pioneer module, although the drivers will be required to set up the network.
Front Panel:
Block Diagram:
To use this VI, you will need to enter the IP address of the WSN gateway and the node number, which can be found in NI Measurement & Automation Explorer (MAX) after setting up and configuring the hardware.
This VI is not currently configured to be used as a SubVI, but would serve well if used in this manner.
Currently supports the following hardware:
NI WSN 9792
NI WSN 9791
NI WSN 3202
NI WSN 3212
NI WSN 3226
NI WSN 3214
Note: This is a work in progress, and I welcome any comments; definitely let me know if you run into any issues with the example.
Description-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.