LabVIEW Wireless Sensor Network Module

Config Node VI for the NI WSN-3226 Node

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

Owning Palette: Configuration & Communication VIs

Requires: LabVIEW WSN Module

Configures the WSN node.
ParameterDescription
Sample Interval ModeSpecifies whether the host computer for the WSN network or the VI on the WSN node controls the rate at which samples are taken. The default value is VI Driven.

Possible inputs are:

  • Host Driven—Specifies that the host computer for the WSN network controls the sample interval.
  • VI Driven—Specifies that the VI on the WSN node controls the sample interval.
Sample IntervalSets or returns the interval in seconds at which sampling occurs.

The new value is immediately applied.

Sensor Power
Sets or returns the sensor power timing for the node. Sensor power turns off after the acquisition (except for Always On). The default value is Host Driven.

Possible inputs are:

  • Host Driven—For this attribute, use the setting from the host computer.
  • 0 ms before sampling—Turns on the Sensor Power immediately when the analog acquisition starts.
  • 25 ms before sampling—Turns on Sensor Power 25 ms before the analog acquisition starts.
  • 100 ms before sampling—Turns on Sensor 100 ms before the analog acquisition starts.
  • 250 ms before sampling—Turns on Sensor Power 250 ms before the analog acquisition starts.
  • Always On—Turns on Sensor Power when the next analog acquisition starts and leaves it on indefinitely.
  • Always Off—Sensor Power never turns on.
Powerline Filtering Sets or returns powerline filtering for the node. The default value is Host Driven.

Possible inputs are:

  • Host Driven—For this attribute, use the setting from the host computer.
  • None—Do not reject powerline noise.
  • 50 Hz—Rejects 50 Hz powerline noise.
  • 60 Hz—Rejects 60 Hz powerline noise.
  • 50/60 Hz—Rejects 50 Hz and 60 Hz powerline noise.
Filtering Strength
Note Note  Powerline Filtering must be enabled to use Filtering Strength.
Sets or returns the filtering strength for the node. The default value is Host Driven.

Possible inputs are:

  • Host Driven—For this attribute, use the setting from the host computer.
  • High Rejection—Rejects powerline noise more, at the expense of higher energy consumption.
  • Low Power—Rejects powerline noise, but as energy efficiently as possible.
RTD Resistance Range
Sets or returns the RTD/Resistance range for the node. This attribute sets the excitation current and scaling for analog input channels which use a Measurement Type of Resistance or RTD. The default value is Host Driven.

Possible inputs are:

  • Host Driven—For this attribute, use the setting from the host computer.
  • 400 ohms/Pt100—Sets the excitation current for a resistor up to 400 ohms or a Pt100 RTD.
  • 4 kiloohms/Pt1000—Sets the excitation current for a resistor up to 4 kiloohms or a Pt1000 RTD.
  • 100 kiloohms—Sets the excitation current for a resistor up to 100 kiloohms.
Flash.SectorSizeReturns the size of the user memory sector.
Flash.NumberofSectorsReturns the number of user memory sectors available.
Maximum Debug Message SizeReturns the maximum allowable size of debug messages. If you send a debug message that exceeds the maximum size, the message is truncated to the maximum size.
Maximum User Message SizeReturns the maximum allowable size of user messages. If you send a user message that exceeds the maximum size, the message is truncated to the maximum size.
Memory.Current Heap UsageReturns the amount of heap memory currently allocated for the application.

The heap memory is located in RAM. An application running on a WSN node uses the heap memory to store strings, arrays, and clusters. The application uses statically allocated RAM to store numeric values. Right-click the build specification for the application in the Project Explorer window and select Application Information from the shortcut menu to view how much static memory is allocated for the application.
Memory.Maximum Heap UsageReturns the maximum amount of heap memory that the application has allocated.

The heap memory is located in RAM. An application running on a WSN node uses the heap memory to store strings, arrays, and clusters. The application uses statically allocated RAM to store numeric values. Right-click the build specification for the application in the Project Explorer window and select Application Information from the shortcut menu to view how much static memory is allocated for the application.
Memory.Available HeapReturns the amount of free heap memory.

The heap memory is located in RAM. An application running on a WSN node uses the heap memory to store strings, arrays, and clusters. The application uses statically allocated RAM to store numeric values. Right-click the build specification for the application in the Project Explorer window and select Application Information from the shortcut menu to view how much static memory is allocated for the application.
Memory.Total HeapReturns the size of heap memory.

The heap memory is located in RAM. An application running on a WSN node uses the heap memory to store strings, arrays, and clusters. The application uses statically allocated RAM to store numeric values. Right-click the build specification for the application in the Project Explorer window and select Application Information from the shortcut menu to view how much static memory is allocated for the application.
Memory.Current Stack UsageReturns the amount of stack memory currently allocated to the application.

The stack memory is located in RAM. Stack memory stores the parameters and local variables of subVIs. If an application uses more stack memory than is available, the application might crash.
Memory.Maximum Stack UsageReturns the maximum amount of stack memory that the application has used.

The stack memory is located in RAM. Stack memory stores the parameters and local variables of subVIs. If an application uses more stack memory than is available, the application might crash.
Memory.Available StackReturns the amount of free stack memory.

The stack memory is located in RAM. Stack memory stores the parameters and local variables of subVIs. If an application uses more stack memory than is available, the application might crash.
Memory.Total StackReturns the size of stack memory.

The stack memory is located in RAM. Stack memory stores the parameters and local variables of subVIs. If an application uses more stack memory than is available, the application might crash.