Skip to main content

Iso11783OPGetProperty

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long Iso11783OPGetProperty( dword ecuHandle, char propertyName[] );

Description

Returns a property of the Object Pool API, e.g. the supported VT version.

Parameters

  • ecuHandle
    Handle of the ECU.
    The handle must be created with Iso11783CreateECU.
  • propertyName
    Key of the information:
    • “Version” VT version support 2..4, Default 3
    • “DebugLevel” Controls the output to the Write Window
      • 0: No output
      • 1: Only errors
      • 2: Warnings and errors
      • 3: Information, warnings and errors

Return Values

  • ≥ 0
    value
  • < 0
    an error has occurred, see error codes
  • -102
    invalid parameter
  • -1113
    unknown property

Example

LONG version;
version = Iso11783OPGetProperty( handle, "Version" );