Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Task Controller Interaction Layer (TC IL) » TCIL_GetLastError

TCIL_GetLastError

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long TCIL_GetLastError(); // form 1
long TCIL_GetLastError(dbNode tc); // form 2

Description

Gets the return value of the last called TC IL function.

Parameters

  • tc: TC simulation node to apply the function

Return Values

  • 0: Property has been set successfully
  • < 0: An error has occurred: IL Error Code

Example