Skip to main content
Open topic with navigation CAPL Functions » General » Function Overview » runError

runError

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

void runError(long err, long);

Description

Triggers a run error. Outputs the error number to the Write Window indicating the error number and the passed number, and then terminates the measurement.

Parameters

Numbers that are represented in your CANoe DE product as a references for the user. The values under 1000 are reserved for internal purposes. The second parameter is reserved for future expansions.

Return Values

Example

...
if(rpm < 0) runError(1001,1);
...
elCount