Skip to main content

diagGetTargetCount

Valid for: CANoe DE

Function Syntax

Description

Returns the number /n/ of possible diagnostic targets configured. For indices /i/ with 0 ≤ i ≤ n you can retrieve the target qualifier with DiagGetTargetQualifier. Note: Diagnostic descriptions that cannot work as diagnostic targets are not counted, e.g. descriptions configured as interpretation only are ignored.

Parameters

Return Values

Error code or number of diagnostic targets.

Example