CAN Create Interface VI
- Updated2023-05-02
- 2 minute(s) read
CAN Create Interface VI
Owning Palette: Embedded CAN for RIO VIs
Creates a CAN interface object to read or write data on the bus. You must create a CAN interface before using all other Embedded CAN for RIO VIs.
The session that you create using this VI is in Stopped mode. Use the CAN Start VI to start the session before any communication.
![]() |
interface index specifies a zero-based number of the interface to create. |
![]() |
baud rate specifies the CAN interface baud rate. Refer to the Baud Rate property for the proper values. The default is 125,000 bps. |
![]() |
receive queue size specifies the number of frames to store in the receive queue. Refer to the Receive Queue Size property for the proper values. The default is 5.
Use receive queue size for the Single-Board RIO hardware. Do not use this control for CompactRIO with built-in CAN port hardware, because the hardware has a built-in receive queue in size of 64. |
![]() |
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 the interface. |
![]() |
error out contains error information. This output provides standard error out functionality. |