This VI reads an NI WSN Analog Input Node channel, and log the results to a TDMS file on a NI 9792. Digital Data is read and then written to a different DIO channel. To configure this VI, complete the following steps:
1. Right-click the NI-9792, go to Properties and configure its IP address.
2. Right-click the NI-9792, go to New >> Targest and Devices and select WSN Nodes.
3. On the block diagram, click the IO Variables, and select the WSN Node and Channel you want to monitor and write to.
4. In the Project Explorer window, right click the IO Variable you are reading, and select Properties. Select Enable Timestamping and click OK.
5. Run the VI.
6. See TDMS log file of data on NI-9792.
Supported Hardware
NI-9792 (Requires LV 2009 SP1 and LV Real Time 2009 SP1 or higher)
NI WSN-3202
NI WSN-3212
NI WSN-3226