Skip to main content

ChkQuery_StatEventFreePeriodMax

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

double ChkQuery_StatEventFreePeriodMax (dword aCheckId);

Method Syntax

Method Syntax
check.QueryStatEventFreePeriodMax();

Description

Returns the maximum timely distance between events and check starts/stops.

Parameters

  • aCheckId: Identifier of the queried Check.

Return Values

  • < 0: Refers the query error codes
    • Note: There is a meaningful value available and a positive return value is supplied even if the check has not generated any event.
  • ≥ 0: Maximum timely distance in the current precision [ms]

Example

double result;
dword checkId;
checkId = ChkStart_MsgRelCycleTimeViolation(VehicleMotion, 0.9, 1.1);
// ... execute test sequence
result = ChkQuery_StatEventFreePeriodMax(checkId);