Documentation

CAN Timeout Detection

CAN Timeout Detection block (not recommended)

Library

Simulink® Real-Time™ Library of Drivers No Longer Recommended for Use.

To open this library, type xpcobsoletelib in the Command Window.

Description

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

Timeout

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

Introduced before R2006a

Was this topic helpful?