NI-Embedded CAN for RIO

Content Type
Programming Language
Current manual

CAN Wait VI

CAN Wait VI

Owning Palette: Embedded CAN for RIO VIs

Waits for CAN frames or interfaces. You must manually select the polymorphic instance to use.

CAN Wait (Transmit Complete)

Waits for previously written frames to be transmitted to the bus. If the queue has more than one frame, use the CAN Wait (Transmit Complete) VI to wait until all frames are transmitted.

interface object in specifies the refnum of the interface to wait.
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.
error out contains error information. This output provides standard error out functionality.

CAN Wait (Interface Communicating)

Waits for the interface to establish communication with the bus. After the interface starts, the controller connects to the bus and starts communication. The CAN Wait (Interface Communicating) VI waits until communication with the bus has been established.

interface object in specifies the refnum of the interface to wait.
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.
error out contains error information. This output provides standard error out functionality.

CAN Wait (Remote Wakeup)

Waits for the CAN interface to wake up to react with the activity of a remote node on the bus. Use the CAN Wait (Remote Wakeup) VI to wait when you set the Transceiver State property to Sleep. The interface and the transceiver go into low-powered mode after you set the property to Sleep. If a remote CAN ECU transmits a frame, the transceiver detects this transmission and both the controller and transceiver wake up.

interface object in specifies the refnum of the interface to wait.
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.
error out contains error information. This output provides standard error out functionality.
Was this information helpful?

Previous

CAN Stop

Previous

CAN Stop