Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

ChkQuery_EventMessageId

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long ChkQuery_EventMessageId (dword aCheckId);

Method Syntax

Method Syntax
check.QueryEventMessageId();

Description

Returns the ID of the message that has forced the event.

Parameters

  • aCheckId

Return Values

  • < 0: Refers the query error codes
  • > 0: ID of the name

Available For

Example

long result;
dword checkId;
checkId = ChkStart_MsgRelCycleTimeViolation(VehicleMotion, 0.9, 1.1);
// ... execute test sequence
result = ChkQuery_EventMessageId(checkId);
Write("result = %d", result);