diagGetDescriptionInformation
Valid for: CANoe DEFunction Syntax
long diagGetDescriptionInformation (char field[], char buffer[], dword bufferLen); // form 1long diagGetDescriptionInformation (char ecuQualifier[], char field[], 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.
- field: Value to retrieve. DiagGetDescriptionVersion returns the value for Version. Other possible values are:
- ” ” (empty string): A short overview is returned
- DatabaseFormat: Database file type, e.g., “CDL”, “ODX”, …
- DatabaseVersion: Database file format version, e.g., “8.0.1100”, “2.0.1”
- Manufacturer: As stored in database, e.g., “Vector”
- Version: Document version, e.g., “1.2”
- LastHistoryChange: Last change history entry, e.g., “2015-02-25 Abc”
- SaveNumber: As stored in database, e.g., “123”
- TemplateLabel: As stored in database, e.g., “V7.1 A”
- TemplateSaveNumber: As stored in database, e.g., “43”
- buffer: The value is written into this array.
- bufferLen: Capacity of the array