Skip to main content

ChkCreate_BurstTimeLimitViolation, ChkStart_BurstTimeLimitViolation

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • dword ChkCreate_BurstTimeLimitViolation (char[] aBusName, duration aMaxTime);
  • dword ChkStart_BurstTimeLimitViolation (char[] aBusName, duration aMaxTime);

Constructor

  • TestCheck::CreateBurstTimeLimitViolation (char[] aBusName, duration aMaxTime);
  • TestCheck::StartBurstTimeLimit (char[] aBusName, duration aMaxTime);

Check Name

Burst Time Limit

Description

Checks the maximum burst time on a bus.

Parameters

  • aBusName: Name of the bus.
  • aMaxTime: Maximum burst time. Default unit [ms], if not changed with ChkConfig_SetPrecision.

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

  • Bus name is not available for the test module.
  • Maximum burst time is 0.

Example

// observes the maximum burst time 3 ms
checkId = ChkStart_BurstTimeLimitViolation ("CAN", 3);
TestAddCondition(checkId);

// sequence of different actions and waiting conditions
TestWaitForTimeout(1000);
TestRemoveCondition(checkId);
Functions to Configure ChecksCommands to Control Checks