Reading from WSN Channels
- Updated2023-02-21
- 1 minute(s) read
Complete the following steps to read data from a WSN channel.
- Configure the WSN system.
- In the Project Explorer window, right-click My Computer and select New»VI from the shortcut menu to add a new VI.
- Place a loop on the block diagram of the VI.
- Place the I/O variable for the channel in the loop by dragging and dropping the variable from the LabVIEW project tree. You can also place the I/O variable from the palette by right-clicking and selecting Structures»Shared Variable.
![]() |
Note To change the read/write mode for a DIO variable, right-click input/output on the variable and select Access Mode. |
- Right-click the channel output terminal of the I/O variable and select Create»Indicator.
- Right-click the error out terminal of the I/O variable and select Create»Indicator.
- Run the VI.
