Skip to main content

ChkQuery_EventInterval_AsyncResult

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long ChkQuery_EventInterval_AsyncResult(dword CheckId);

Method Syntax

Method Syntax
check.QueryEventIntervalAsyncResult();

Description

Returns the last time-interval that has led to the event. The data has to be queried first using testWaitForCheckQuery.

Parameters

  • CheckId: Handle of the check to be queried.

Return Values

  • < 0: Refers the query error codes
  • ≥ 0: Refers to the frame id

Available For

Example

long result;
dword checkId;
checkId = ChkStart_MsgRelCycleTimeViolation(VehicleMotion, 0.9, 1.1);
// ... execute test sequence
result = testWaitForCheckQuery(checkId, 10000);
if (result == 1)
  result = ChkQuery_EventInterval_AsyncResult(checkId);