Skip to main content

ChkQuery_NumRequests

Valid for: CANoe DE

Function Syntax

long ChkQuery_NumRequests (dword aCheckId);

Method Syntax

Method Syntax
check.QueryNumRequests();

Check Name

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

Description

Returns the total number of requests that occurred during the current observation period.

Parameters

  • aCheckId: Reference to check context.

Return Values

  • < 0: Refer the query error codes
  • ≥ 0: Number of requests that occurred

Example

ChkCreate_MostPropertyProtocolError, ChkStart_MostPropertyProtocolErrorChkCreate_MostMethodProtocolError, ChkStart_MostMethodProtocolError