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

Iso11783IL_OPDeleteVersion

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_OPDeleteVersion( char versionName[] ); // form 1
  • long Iso11783IL_OPDeleteVersion( dbNode implement, char versionName[] ); // form 2

Description

The function deletes an object pool, which is stored on the Virtual Terminal. A Delete Version or Extended Delete Version command is sent to the Virtual Terminal.

Parameters

  • versionName: designator of the version
    For VT version smaller than 5 the name must be 7 characters long. For VT version 5 and higher a name with more than 7 characters is sent with the Delete Extended Version command.
  • implement: Simulation node to apply the function.

Return Values

  • = 0: Function has been executed successfully
  • < 0: An error has occurred, see error codes

Example

Iso11783IL_OPDeleteVersion( "POOL01A" ); // results in a Delete Version command
Iso11783IL_OPDeleteVersion( "Planter 12.0.34 en" ); // results in a Extended Delete Version command
Iso11783IL_OPStoreVersionIso11783IL_OPLoadVersionIso11783IL_OPGetVersion