Table Of Contents

XNET Convert (Signal to Frame » LIN) (G Dataflow)

Last Modified: February 22, 2017

Converts between NI-XNET signals and LIN frame data.


session in

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


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.


error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: No error


session out

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


unused payloads

This parameter is empty. No user input is needed.


frame data

Returns the array of LabVIEW clusters. Each array element corresponds to a frame the session converted.

The elements of each cluster are specific to the LIN protocol.



The identifier received within the frame's header. The identifier is a number from 0 to 63.

If the schedule entry (slot) is unconditional or sporadic, this identifies the payload data (LIN frame). If the schedule entry is event triggered, this identifies the schedule entry itself, and the protected ID contained in the first payload byte identifies the payload.


event slot?

This element is not used. This element is false.


event ID

This element is not used. This element is 0.



A Boolean value that determines whether the frame was an echo of a successful transmit (true), or received from the network (false). For conversion, it is always set to false.



The frame type.The decimal value is in parentheses.

LIN Data (64) The LIN data frame contains payload data. This is currently the only frame type for LIN.

For conversion, this is always set to false.



An element that represents the absolute time when the XNET interface received the frame (end of frame), accurate to microseconds. The timestamp returned by the conversion is always invalid (0).



The array of data bytes for the LIN data frame. The array size indicates the received frame’s payload length.

According to the LIN protocol, this payload is 0-8 bytes in length.


error out

Error information. The node produces this output according to standard error behavior.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Supported

Recently Viewed Topics