Converts between NI-XNET signals and FlexRay frame data.
The session to read. This session is returned from XNET Create Session. The session mode must be Conversion.
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 conditions that occur before this node runs. The node responds to this input according to standard error behavior.
Default: No error
An output that is the same as session in, provided for use with subsequent nodes.
This parameter is empty. No user input is needed.
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 FlexRay protocol.
This element specifies the slot number within the FlexRay cycle.
An element that specifies the cycle number. The FlexRay cycle count increments from 0 to 63, then rolls over back to 0.
A Boolean value that specifies whether the frame is a startup frame (true) or not (false).
A Boolean value that specifies whether the frame is a sync frame (true) or not (false).
A Boolean value that specifies the value of the payload preamble indicator in the frame header. If the frame is in the static segment, preamble? being true indicates the presence of a network management vector at the beginning of the payload. The XNET Cluster FlexRay:Network Management Vector Length property specifies the number of bytes at the beginning.
If the frame is in the dynamic segment, preamble? being true indicates the presence of a message ID at the beginning of the payload. The message ID is always 2 bytes in length.
If preamble? is false, the payload does not contain a network management vector or a message ID.
A Boolean value that specifies whether the frame was received on channel A (true) or not (false).
A Boolean value that specifies whether the frame was received on channel B (true) or not (false).
A Boolean value that determines whether the frame was an echo of a successful transmit (true), or received from the network (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 FlexRay frames of type FlexRay Data or FlexRay Null. The array size indicates the received frame value payload length.
According to the FlexRay protocol, this length range is 0-254.
XNET Convert (Signal to Frame FlexRay) writes the FlexRay frame identification to the following fields:
In addition, the following fields are set to their database definition:
Error information. The node produces this output according to standard error behavior.
Where This Node Can Run:
Desktop OS: Windows