Difference between revisions of "Extensions.DiagCom.SetComplexComParameter"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | DiagCom.SetComplexComParameter(ComChannelVariable, | + | DiagCom.SetComplexComParameter(ComChannelVariable, ParameterTerm); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 09:31, 4 February 2015
Classification
Name | SetComplexComParameter |
Short Description | Setting of complex communication parameters |
Class | Action |
Extension | OTX DiagCom extension |
Group | ComParameter related actions |
Exceptions | TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DiagCom.SetComplexComParameter(ComChannelVariable, ParameterTerm);
Description
The OTX SetComplexComParameter action is an enhanced variant of SetComParameter. The difference between these actions is that in this case complex data types can be used.
![]()
In an ODX/MVCI based Diagnostic Runtime System complex communication parameters to define lists of response IDs required for functional addressing.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Variable | - | [1] | Communication Channel (Control unit). |
Parameter | Parameter | Term | - | [0..1] | Structure of the parameter to be changed Communication Saving Meters. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.Request req;
DiagCom.Parameter param;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
req = DiagCom.GetRequest(DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu"));
param = DiagCom.GetParameterByPath(req, {"Param_RequeServiId"});
DiagCom.SetComplexComParameter(myComCannel, param);