NI-XNET API for LabVIEW and C

XNET Write (Signal Single-Point).vi

  • Updated2023-11-11
  • 2 minute(s) read
 XNET Write (Signal Single-Point).vi

XNET Write (Signal Single-Point).vi

Purpose

Writes data to a session of Signal Output Single-Point mode.

Format

Inputs

session in is the session to write. This session is selected from the LabVIEW project or returned from the XNET Create Session VI. The session mode must be Signal Output Single-Point.
data provides a one-dimensional array of signal values. Each signal value is scaled, 64-bit floating point.

Each array element corresponds to a signal configured for the session. The order of signals in the array corresponds to the order in the session list.

The data provides the value for the next transmit of each signal. If the XNET Write (Signal Single-Point) VI is called twice before the next transmit, the transmitted frame uses signal values from the second call to the XNET Write (Signal Single-Point) VI.

For an example of how this data applies to network traffic, refer to Signal Output Single-Point Mode.

A trigger signal written a value of 0.0 suppresses writing of its frame's data; writing a value not equal to 0.0 enables it. For more information about trigger signals, refer to Signal Output Single-Point Mode.
error in is the error cluster input (refer to Error Handling).

Outputs

session out is the same as session in, provided for use with subsequent VIs.
error out is the error cluster output (refer to Error Handling).

Log in to get a better experience