Raw

Converts between NI-XNET signals and raw frame data.

1378

Inputs/Outputs

datatype_icon

session in

The session to read. This session is returned from XNET Create Session. The session mode must be Conversion.

datatype_icon

signal data

An input that returns 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 conversion of each signal.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

session out

An output that is the same as session in, provided for use with subsequent nodes.

datatype_icon

frame data

An output that returns an array of bytes.

The raw bytes encode one or more frames using the raw frame format.

This frame format is the same for read and write of raw data, and it is also used for log file examples.

The data always returns complete frames.

For information about which elements of the raw frame are applicable, refer to the frame read for the protocol in use (XNET Convert (Signal to Frame CAN), XNET Convert (Signal to Frame FlexRay), or XNET Convert (Signal to Frame LIN)).

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior