XNET Wait (CAN Remote Wakeup) VI
- Updated2025-10-07
- 3 minute(s) read
Waits for the CAN interface to wake up due to activity by a remote ECU on the network.

Inputs/Outputs
session in
—
session in is the session to apply the wait.
timeout (10)
—
timeout (sec) specifies the maximum amount of time in seconds to wait for the measurement or generation to complete. This VI returns an error if the time elapses. The default is 10. If you set timeout (sec) to -1, the VI waits indefinitely.
error in (no error)
—
The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.
session out
—
session out is the same as session in, provided for use with subsequent VIs.
error out
—
The error out cluster passes error or warning information out of a VI to be used by other VIs. The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
Description
This wait is used when you set the XNET Session Interface:CAN:Transceiver State property to Sleep. When asleep, the interface and transceiver go into a low-powered mode. If a remote CAN ECU transmits a frame, the transceiver detects this transmission, and both the controller and transceiver wake up. This wait detects that remote wakeup.
The timeout parameter provides the maximum number of seconds to wait. This value must be 1.0 (one second) or greater. The default value is 10 (10 seconds).
session in
—
timeout (10)
—
error in (no error)
—
session out
—
error out
—