Describes how to read data from WSN channels in a LabVIEW project.

Complete the following steps to read data from a WSN channel.

  1. Configure the WSN system.
  2. In the Project Explorer window, right-click My Computer and select New»VI from the shortcut menu to add a new VI.
  3. Place a loop on the block diagram of the VI.
  4. 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.
  1. Right-click the channel output terminal of the I/O variable and select Create»Indicator.
  2. Right-click the error out terminal of the I/O variable and select Create»Indicator.
  3. Run the VI.