Skip to main content

ChkQuery_StatProbeIntervalAvg

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

double ChkQuery_StatProbeIntervalAvg (dword aCheckId)

Method Syntax

Method Syntax
check.QueryStatProbeIntervalAvg()

Description

Returns the average timely distance between 2 consumed message events.

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: Average timely distance

Example

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