Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » Virtual Terminal Interaction Layer (VT IL) » VTIL_GetLastErrorText

VTIL_GetLastErrorText

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long VTIL_GetLastErrorText( dword bufferSize, char buffer[] ); // form 1: deprecated.
  • long VTIL_GetLastErrorText( char buffer[] ); // form 2
  • long VTIL_GetLastErrorText( dbNode vt, dword bufferSize, char buffer[]); // form 3: deprecated.
  • long VTIL_GetLastErrorText( dbNode vt, char buffer[]); // form 4

Description

Returns the result of the last VT IL function as string.

Parameters

  • vt: VT 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