Skip to main content

ChkQuery_EventMessageName

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

double ChkQuery_EventMessageName (dword aCheckId, char buffer[], dword bufferlen);

Method Syntax

Method Syntax
check.QueryEventMessageName (char buffer[], dword bufferlen);

Description

Stores the name of the message, that has led to the event, in the buffer and returns 0 if specified for a range or error code.

Parameters

  • aCheckId
  • buffer
  • bufferlen

Return Values

Available For

Example

long result;
dword checkId;
char messageName[100];
checkId = ChkStart_MsgRelCycleTimeViolation(VehicleMotion, 0.9, 1.1);
// ... execute test sequence
result = ChkQuery_EventMessageName(checkId, messageName, 100);
Write("result = %d", result);