Skip to main content

diagGetParameterName

Valid for: CANoe DE

Function Syntax

long diagGetParameterName (diagResponse obj, dword paramNo, char buffer[], dword buffersize)
long diagGetParameterName (diagRequest obj, dword paramNo, char buffer[], dword buffersize)

Method Syntax

Method Syntax
long diagResponse::GetParameterName (dword paramNo, char buffer[], dword buffersize)
long diagRequest::GetParameterName (dword paramNo, char buffer[], dword buffersize)

Description

Writes the qualifier (without parent path) of the diagnostic parameter into the given field. Structural parameters are counted too.

Parameters

  • obj: Diagnostics object
  • paramNo: Index of the parameter in the object, beginning with 0. Structural parameter that cannot have a simple value (e.g., a container for a list) are also counted and reported.
  • buffer: Output buffer
  • buffersize: Buffer size

Return Values

Number of chars written to buffer or error code.

Example

diagGetParameterLongName, diagGetRespParameterLongName