Skip to main content

ChkStart_LINSyncBreakTimingViolation

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Constructor

Constructor

Description

Checks the timing of the synchronization break field in LIN headers. An event will be generated if the measured length [in bit times] of break low phase is outside of the specified range. Note: Dependent on the used parameter type, the appropriate bus context in a multibus environment has only to be set before the function is called if the corresponding database object will be ambiguous. Further information on site MultiBus Environment.

Parameters

  • MinBreakLen
    • 0: Minimum length of break low phase shall not be checked
    • \>0: Minimum allowed length of break low phase
    • Unit: bit time
  • MaxBreakLen
    • 0: Maximum length of break low phase shall not be checked
    • \>0: Maximum allowed length of break low phase
    • Unit: bit time
  • CaplCallback
    • Name of CAPL callback function to be called on generated event. In simulation nodes, this parameter has to be set. In test modules, this parameter is optional.

Return Values

  • 0: Check could not be created and must not be referenced
  • \> 0: Check was created successfully and may be referenced using the returned (handle-) value.

Possible Errors

  • Range specified for synch break length is invalid
  • CAPL callback does not exist

Check-specific Queries

Example

Functions to Configure ChecksCommands to Control Checks