XNET Convert (Signal to Frame CAN).vi
- Updated2023-11-11
- 4 minute(s) read
XNET Convert (Signal to Frame CAN).vi
Purpose
Converts between NI-XNET signals and CAN frame data.
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. |
![]() |
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 provides the value for the next conversion of each signal. For an example of how this data applies, refer to Conversion Mode. |
![]() |
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. | ||||||||||||
![]() |
frame data returns an array of LabVIEW clusters. Each array element corresponds to a frame the session converted. The elements of each cluster are specific to the CAN protocol. For more information, refer to Summary of the CAN Standard or the CAN protocol specification. The cluster elements are:
|
||||||||||||
![]() |
error out is the error cluster output (refer to Error Handling). |










