Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

CAN Timeout Detection

CAN Timeout Detection block

Library

Simulink® Real-Time™ Library for CAN

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

See Also

Introduced before R2006a

Was this topic helpful?