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

VTIL_GetLastError

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long VTIL_GetLastError(); // form 1
  • long VTIL_GetLastError(dbNode vt); // form 2

Description

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

Parameters

  • vt: VT simulation node to apply the function

Return Values

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

Example