NI-Embedded CAN for RIO

Content Type
Programming Language
Current manual

Embedded CAN for RIO VIs

Embedded CAN for RIO VIs

Use the Embedded CAN for RIO VIs to interact with the CAN embedded devices.

Palette ObjectDescription
CAN Close InterfaceCloses a session you create by using the CAN Create Interface VI. This VI closes the session regardless of whether an error has occurred in a preceding operation or not. Use this VI to release memory before starting a new session or to discard all elements in the transmit queue or the receive queue.
CAN Create InterfaceCreates 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.
CAN FlushFlushes all queues for the specified CAN interface. Use this VI to discard all elements in the transmit queue or receive queue.
CAN ReadReads a CAN frame on the bus.
CAN Set Filter ModeSets the mode of the filter. Use this VI and the CAN Set Filter Value VI to create Acceptance Filters. Acceptance Filters sort the incoming CAN frames for the CompactRIO with the built-in CAN port hardware and the single-board RIO hardware. Use this filter to reduce the burden of frame storage in the NI-Embedded CAN for RIO software.
CAN Set Filter ValueSets the filter setting for a CAN Interface Object. Use this VI and the CAN Set Filter Mode VI to filter the incoming CAN frames.
CAN StartStarts communication for the specified CAN interface. This VI is optional when the Auto Start? property is TRUE.
CAN StopStops communication for the specified CAN interface.
CAN WaitWaits for CAN frames or interfaces. You must manually select the polymorphic instance to use.
CAN WriteTransmits a CAN frame to the bus.
Was this information helpful?