Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

diagGetTargetGroupName

Valid for: CANoe DE

Function Syntax

  • DiagGetTargetGroupName(dword bitPos, char groupNameOut[]); // form 1
  • long DiagGetTargetGroupName(char ecuQualifier[], dword bitPos, char groupNameOut[]); // form 2

Description

Returns the name of the diagnostic target group for which the bit at the given position is used by diagGetAssignedTargetGroups. If the target ECU is not specified explicitly, the target selected with diagSetTarget is used.

Parameters

  • ecuQualifier: Use this diagnostic target, not that selected with DiagSetTarget.
  • bitPos: Position of the bit in the bitmask returned by DiagGetAssignedTargetGroups.
  • groupNameOut: The name of the target group is written to this field in the CAPL file’s encoding.

Return Values

  • ≥ 0: number of characters written
  • < 0: Error code

Example

See diagGetAssignedTargetGroups diagGetAssignedTargetGroups