Extensions.DiagCom.SetParameterValue

From emotive
Revision as of 07:38, 15 July 2014 by Nb (talk | contribs) (→‎Examples)
Jump to navigation Jump to search

Classification

Name SetParameterValue
Short Description Sets the value of a request parameter
Class Action
Extension OTX DiagCom extension
Group DiagService related actions
Exceptions OutOfBoundsException
TypeMismatchException
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

SetParameterValue(Parameter param, Variable value);

Description

The OTX SetParameterValue activity sets the value of a request parameter "manually" to a specific value, see ExecuteDiagService.

Properties

Name Data Type Class Default Cardinality Description
Parameter Parameter Term - [1] Request parameter whose value is to be set.
Value - Term - [1] Value of the corresponding type that is to be placed.

Examples

ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
DiagService myDiagService = CreateDiagServiceByName(myComChannel, "DiagnServi_ReadDataByIdentECUIdent");
Request req = GetRequest(myDiagService);
Parameter param = GetParameterByPath(req, "Param_RequeServiId");

SetParameterValue(param, value);

See also

GetComChannel
CreateDiagServiceByName
SetParameterValueBySemantic