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

TCIL_GetLastErrorText

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long TCIL_GetLastErrorText( dword bufferSize, char buffer[] ); // form 1: deprecated with 13
  • long TCIL_GetLastErrorText( char buffer[] ); // form 2
  • long TCIL_GetLastErrorText( dbNode tc,dword bufferSize, char buffer[]); // form 3: deprecated with 13
  • long TCIL_GetLastErrorText( dbNode tc, char buffer[]); // form 4

Description

Returns the result of the last TC IL function as string. Form 3 and 4 applicable in test module / test unit only.

Parameters

  • tc: TC simulation node to apply the function
  • bufferSize: size of the return buffer
  • buffer: return buffer

Return Values

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

Example