Difference between revisions of "Extensions.DiagCom.SetComplexComParameter"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
== Classification == | == Classification == | ||
{{ClassificationActivity | SetComplexComParameter | Setting of complex communication parameters | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[ComParameter related actions]] | [[TypeMismatchException]] | - }} | {{ClassificationActivity | SetComplexComParameter | Setting of complex communication parameters | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[ComParameter related actions]] | [[TypeMismatchException]] | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | SetComplexComParameter( | + | DiagCom.SetComplexComParameter(ComChannelVariable, Parameter); |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 18: | Line 18: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | ComChannel myComCannel = GetComChannel("LL_AllEmissRelatUDSSyste", | + | DiagCom.ComChannel myComCannel; |
− | + | DiagCom.Request req; | |
− | + | DiagCom.Parameter param; | |
− | SetComplexComParameter(myComCannel, 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); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 09:30, 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, Parameter);
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);