Skip to main content

diagGetCurrentEcu

Valid for: CANoe DE

Function Syntax

Description

Gets the qualifier of the ECU for which the last event was processed, especially if a response was received from this ECU. This function can be used to determine the ECU that responded to a functional request. In a diagnostics event handler in the measurement setup, this function will return the target of request primitives and the source of response primitives (the other communication partner is always a tester).

Parameters

  • qualifier: Output buffer
  • bufferLen: Length of the output buffer

Return Values

Error code or length of the name provided.

Example