Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_TIMOnError

Iso11783IL_TIMOnError

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

void Iso11783IL_TIMOnError(long errorCode, dword addParam)

Description

This callback function is called from the ISO11783 IL if an error occurred while TIM nodes are simulated.

Parameters

  • errorCode: Current error code.
  • addParam: Additional parameter depending on the error code.

Return Values

  • 0: Property has been set successfully
  • < 0: An error has occurred, see error codes

Example

void Iso11783IL_TIMOnError( long errorCode, dword addParam )
{
  char buffer[256];
  Iso11783IL_GetLastErrorText ( elCount(buffer), buffer);
  write( "Iso11783IL_TIMOnError: Error %i (%f): %s", errorCode,timeNowFloat()/100000.0, buffer );
}