Transceiver State
- Updated2026-08-23
- 2 minute(s) read
| Data Type | Direction | Required? | Default |
|---|---|---|---|
|
Read/Write | No | Sleep (1) |
Property Class
Embedded CAN Interface Short Name
Configures the CAN transceiver and CAN controller modes. The transceiver state controls whether the transceiver is asleep or communicating. The following table lists the accepted values.
| Enumeration | Value |
|---|---|
| Normal | 0 |
| Sleep | 1 |
Normal
This state sets the transceiver to normal communication mode. If the transceiver is in the Sleep mode, this state performs a local wakeup of the transceiver and CAN controller chip.
Sleep
This state sets the transceiver and CAN controller chip to Sleep (or standby) mode.
Before going to sleep, all pending transmissions are discarded. An explicit call to the CAN Wait (Transmit Complete) VI is necessary to make sure the pending transmissions are transmitted. Once the interface enters Sleep mode, further communication is not possible until a wakeup occurs. The transceiver and CAN controller wake from Sleep mode when either a local wakeup or remote wakeup occurs.
A local wakeup occurs when the application sets the transceiver state to Normal.
A remote wakeup occurs when a remote node transmits a CAN frame (referred to as the wakeup frame). The wakeup frame wakes up the Embedded CAN interface transceiver and CAN controller chip. The CAN controller chip does not receive or acknowledge the wakeup frame. After detecting the wakeup frame and idle bus, the CAN interface enters Normal mode.
When the local or remote wakeup occurs, frame transmissions resume from the point at which the original Sleep mode was set.
To suspend the application while waiting for the remote wakeup, use the CAN Wait (Remote Wakeup) VI.
The execution time to read this property is sufficient for use in a high-priority loop in the LabVIEW Real-Time (RT) Module.