LabVIEW Wireless Sensor Network Module

NI WSN-3230/3231 Settings

  • Updated2023-02-21
  • 3 minute(s) read

Right-click the node in the Project Explorer window and select Properties. Select the Channels or Node tab.

To upload the serial number of a connected node to the Project Explorer window, right-click the gateway and select Refresh Node Serial Numbers.

Channels Tab: Digital Input/Output

This dialog box includes the following components:

  • Channels—Specifies the channel or channels to configure.
  • Channel Configuration

Range—Specifies the data type of the selected channel(s). You cannot change this setting.


  • Channel Attributes

Select the Attribute and Value.


AttributeValue
DIO Mode Returns or sets the mode for the corresponding DIO lines. This property can contain the following values:
  • DI - 24V Sinking—Use this mode to connect to industrial 24V sourcing output devices. The input has a low impedance to ground and input thresholds compatible with 24 V signaling.
  • DI - 24V Sinking with Power Management—This mode is similar to DI-24V Sinking, but the low impedance path to ground is removed when the inputs are not being actively read. This may reduce power consumption of the output device. This mode should only be used with output devices that have valid output states within 100 µs of having a low impedance path presented to the output.
  • DI - TTL Logic—High impedance inputs with TTL compatible thresholds; suitable for most 3V or 5V logic signals.
  • DI - Contact Closure —The input has TTL compatible thresholds and provides a pull-up resistor to 3V when the input is actively being read. This is suitable for connections to contact switches wired between the input and ground. If a contact to ground remains closed in this setting while DIO Notifications are not set to Disabled, the current into the contact switch increases power consumption and can reduce battery life.
  • DO - Drive Low (Sinking)—For DIO output value 1, do not drive the DIO line. For DIO output value 0, drive the DIO line low. This setting does not require a supply voltage on DIO_PWR.
  • DO - Drive High (Sourcing)—For DIO output value 1, drive the DIO line high to the DIO_PWR voltage. For DIO output value 0, do not drive the DIO line. This setting requires a supply voltage connected to the DIO_PWR pin.
  • DO - 3V TTL Logic (Open-Collector with Pull-Up)—For DIO output value 1, pull-up the DIO line to 3V through a pull-up resistor. For DIO output value 0, drive the DIO line low. When read, the DIO line is read with TTL input thresholds. This mode allows for connection to 3V and 5V logic inputs with TTL compatible input thresholds. This setting does not require a supply voltage on DIO_PWR.
  • Drive High and Low (Sourcing and Sinking)—For DIO output value 1, this mode drives the DIO line high to the DIO_PWR voltage. For DIO output value 0, drive the DIO line low. This setting requires a supply voltage connected to the DIO_PWR pin in order to drive high. If no supply is connected to DIO_PWR, this mode will operate as if it were set to the DO-Drive Low (Sinking) mode.

Node Tab

This dialog box includes the following components:


  • Device Name—Specifies the name of the WSN node, which appears in the Project Explorer window. LabVIEW assigns a default name to the node based on the Hardware Configuration ID. You can use this field to give the node a descriptive name.
  • Device Type—Specifies the type of WSN node. You cannot change this value.
  • Hardware Configuration—Specifies the hardware configuration ID and the sample interval (seconds).
    • ID—Allows you to map a node in the property tree to a node of that ID on the gateway.
    • Sample Interval (Seconds)—Specifies how often the node samples all inputs, in seconds. For End Nodes, the nodes sleep during this interval.

Log in to get a better experience