Skip to main content

ChkQuery_NumTimedoutRequests

Valid for: CANoe DE

Function Syntax

long ChkQuery_NumTimedoutRequests (dword aCheckId);

Method Syntax

Method Syntax
check.QueryNumTimedoutRequests();

Check Name

MOST Property Protocol Observation (Check Description) | MOST Method Protocol Observation (Check Description)

Description

Returns the number of requests within the current observation period for which no corresponding response message was observed during the specified timeout. In the context of a method protocol check, an occurred timeout of tWaitForProcessing1 or tWaitForProcessing2 will also count that request to the number returned by this function, regardless whether the final “Result”/“ResultAck” or “Error”/“ErrorAck” response is observed within tMaxDuration or not.

Parameters

  • aCheckId: Reference to check context.

Return Values

  • < 0: Refer the query error codes.
  • ≥ 0: Number of requests that incurred a timeout.

Example

ChkCreate_MostPropertyProtocolError, ChkStart_MostPropertyProtocolErrorChkCreate_MostMethodProtocolError, ChkStart_MostMethodProtocolError