Frame LIN to Signal
- Updated2023-02-17
- 4 minute(s) read
Frame LIN to Signal
Converts between NI-XNET LIN frame data and signals.
Inputs/Outputs

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

frame data
An input that provides the array of LabVIEW clusters.
Each array element corresponds to a frame value to convert.
The data you write is converted to signal values in the order you provide them. Only the latest signal value is returned.

identifier
An element not used for transmit. You must set this element to 0.

event slot?
An element not used for transmit. You must set this element to false.

event ID
An element not used for transmit. You must set this element to 0.

echo?
An element not used for conversion. You must set this element to false.

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

timestamp
An element that represents absolute time using the LabVIEW absolute timestamp type.

payload
The array of data bytes for a LIN data frame.
For more information, refer to the section for each mode.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

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

signal data
An output that returns a one-dimensional array of signal values. Each signal value is scaled, 64-bit floating point.
The data returns the most recent converted value for each signal. If multiple frames for a signal are input, only signal data from the most recent frame is returned. Here, most recent is defined by the order of the frames in the frame data array, not the timestamp.
If no frame is input for the corresponding signals, the XNET Signal Default Value is returned.

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