CAN Timeout Detection

CAN Timeout Detection block


Simulink® Real-Time™ Library for CAN


This block uses the timestamp information to calculate the timeout condition. To use this block, select the Output timestamp check box of a CAN Unpack block. Then connect the Timestamp output port to the input port of the CAN Timeout Detection block.

For an example of this usage, add this block to xpccanpcis, a loopback example for the CAN-AC2-PCI board using CAN_MESSAGE data types for message storage.

Block Parameters


Specify the timeout value, in seconds. The output of the block is:

  • 0, if a timeout has not been detected

  • 1, if a timeout has been detected

Was this topic helpful?