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

on J1587Message

Valid for: CANoe DE • CANoe4SW DE

Description

Defines the event handler for a valid J1708 message, the this pointer is of type J1587Message. For passing this message to other node, output(this) must be called inside the event handler.

Parameters

dbNode | MID | * // Msg with J1587_Error = 0

Example

on J1587Message 50 // 50 is Sender MID, can be dbNode name or MID
{
  J1587Param 0 param;
  if (GetParameterByPID(this, 30, param) == 0)
  {
    output(this);
  }
}