Describes timestamp behavior for NI-WSN I/O variables and how to enable timestamps.

By default, NI-WSN I/O variables do not return timestamps. Use the following instructions to enable timestamps:

  1. Right-click on the variable in the project tree, and select Properties.
  2. Check the Enable Timestamping box.
  3. Find the instance of the variable on the block diagram and right-click it.
  4. Select Timestamp» Show. An additional output terminal will appear on the variable in the block diagram. The timestamp represents the time at which the data was acquired and is based on the gateway's clock.

If using gateway and node firmware from NI-WSN 1.2 or later, the timestamp is applied at the node when data is taken. Otherwise, it is applied by the gateway when data is received from the node.

For waveform data type nodes the dt and T0 variables are applied at the node.