XNET Convert (Frame FlexRay to Signal).vi
- Updated2023-11-11
- 5 minute(s) read
XNET Convert (Frame FlexRay to Signal).vi
Purpose
Converts between NI-XNET FlexRay frame data and signals.
Format

Inputs
![]() |
session in is the session to read. This session is returned from the XNET Create Session VI. The session mode must be Conversion. | ||||||||||||||||||||||
![]() |
frame data 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. For an example of how this data applies, refer to Conversion Mode. The elements of each cluster are specific to the FlexRay protocol. For more information, refer to Summary of the FlexRay Standard or the FlexRay Protocol Specification. The cluster elements are:
|
||||||||||||||||||||||
![]() |
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. |
![]() |
signal data 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 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. For an example of how this data applies, refer to Conversion Mode. |
![]() |
error out is the error cluster output (refer to Error Handling). |











