Skip to main content

diagGetDescriptionVersion

Valid for: CANoe DE

Function Syntax

  • long diagGetDescriptionVersion (char buffer[], dword bufferLen); // form 1
  • long diagGetDescriptionVersion (char ecuQualifier[], char buffer[], dword bufferLen); // form 2

Description

Returns information on a diagnostic description, as stored in the database file itself.

Parameters

  • ecuQualifier: Retrieves information for this diagnostic description. If not given, the currently selected target or description assigned to the ECU simulation is used.
  • buffer: The value is written into this array.
  • bufferLen: Capacity of the array

Return Values

Number of characters written into the array, or error code. If a value is not defined in the database, 0 and an empty string are returned.

Example