Skip to main content

diagGetComplexRespParameterRaw

Valid for: CANoe DE

Function Syntax

long diagGetComplexRespParameterRaw (diagRequest req, char parameterName[], dword iteration, char subParameter[], byte buffer[], dword bufferLen);

Method Syntax

Method Syntax
long diagRequest::GetComplexRespParameterRaw (char parameterName[], dword iteration, char subParameter[], byte buffer[], dword bufferLen);

Description

Reads/sets the complex parameter to the specified raw value. This function offers access to parameters contained in a received response object, whereby the function is addressed directly by the request. This eliminates the need to generate a separate response object. If no response is available yet for the request, an error is reported.

Parameters

  • req: Request
  • parameterName: Parameter qualifier
  • iteration: Iteration (beginning with 0)
  • subParameter: Sub parameter qualifier
  • buffer: Output buffer
  • bufferLen: Buffer size

Return Values

Error code

Example

Using Diagnostics Functions in Test Cases diagGetComplexParameterRaw