Skip to main content
Open topic with navigation CAPL Functions » J1587 » on J1587ErrorMessage

on J1587ErrorMessage

Valid for: CANoe DE • CANoe4SW DE

Description

Defines the event handler for an erroneous J1708 message. The error code is contained in J1587ErrorMessage::J1587_Error. For passing this message to other node, output(this) must be called inside the event handler.

Parameters

    • (receives all MIDs) // Msg with J1587_Error != 0

Example

on J1587ErrorMessage 50 //50 is Sender MID, can be dbNode name or MID
{
  write ("Msg with ErrorCode %d received, MID %d", this.J1587_MID,
  this.J1587_Error);
}