diagGetConfiguredVariant
Valid for: CANoe DEFunction Syntax
Description
Retrieves the qualifier of the variant that is configured for the current target. Retrieve the qualifier of the variant that is configured for the current or given target in the Diagnostics configuration dialog. It is possible to provide this qualifier to the automatic variant identification algorithm.Parameters
- ecuQualifier: ECU the identification algorithm should run for, not the currently selected one. If given, diagSetTarget does not have to be called.
- configuredVariantOut: Buffer for the qualifier
- bufferLen: Length of the buffer
Return Values
Length of qualifier written to buffer, may be truncated:- 0: No error, OK
< 0: Error code- -94: Especially No target was selected