Extensions.DiagCom.SetParameterValue
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 |
OTL Syntax
DiagCom.SetParameterValue(ParameterTerm, Term);
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 | [Extensions.DiagCom.Parameter | Parameter]] | Term | - | [1] |
Value | - | Term | - | [1] | Value of the corresponding type that is to be placed. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService myDiagService;
DiagCom.Request req;
DiagCom.Parameter param;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
myDiagService = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentASAMODXFileIdent");
req = DiagCom.GetRequest(myDiagService);
param = DiagCom.GetParameterByPath(req, {"Param_RecorDataIdent"});
DiagCom.SetParameterValue(param, 123);
See also
GetComChannel
CreateDiagServiceByName
SetParameterValueBySemantic