CAN Read VI
- Updated2023-05-02
- 3 minute(s) read
CAN Read VI
Owning Palette: Embedded CAN for RIO VIs
Reads a CAN frame on the bus.
When the Auto Start? property is TRUE and a session has not been started, running this VI starts the session automatically.
This VI is optimized for real-time performance. This VI executes quickly and avoids access to shared resources that can induce jitter on other VI priorities.
![]() |
interface object in specifies the refnum of the interface to read. | ||||||||||||
![]() |
timeout specifies the maximum time, in seconds, that the VI waits for a frame to become available. The default is 0. If timeout is negative, this VI waits indefinitely for a frame to become available. | ||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||
![]() |
interface object out returns the refnum of interface object in. | ||||||||||||
![]() |
CAN frame returns elements that represent the received frame.
| ||||||||||||
![]() |
timestamp returns the time depending on receive queue size of the CAN Create Interface VI. If receive queue size is greater than five, timestamp returns the time, in microseconds, that the NI-Embedded CAN for RIO software receives the frame from CAN bus. If receive queue size is five, timestamp returns the time, in microseconds, that you use the CAN Read VI. | ||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |