Difference between revisions of "Extensions.DiagCom.SetComplexComParameter"
Jump to navigation
Jump to search
(Created page with "Category:DiagCom == Classification == {{ClassificationActivity | SetComplexComParameter | Setting of complex communication parameters | Action | DiagCom|OTX DiagCom...") |
|||
Line 20: | Line 20: | ||
== Examples == | == Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | ComChannel myComCannel = GetComChannel(" | + | ComChannel myComCannel = GetComChannel("LL_AllEmissRelatUDSSyste", "", false); |
Request req = GetRequest(CreateDiagServiceByName(myComCannel,"DiagnServi_ReadDataByIdentActuaTestStatu")); | Request req = GetRequest(CreateDiagServiceByName(myComCannel,"DiagnServi_ReadDataByIdentActuaTestStatu")); | ||
Parameter param = GetParameterByPath(req, "Param_RequeServiId"); | Parameter param = GetParameterByPath(req, "Param_RequeServiId"); |
Revision as of 02:39, 15 July 2014
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 |
Pseudo-Code Syntax
SetComplexComParameter(ComChannel myComChannel, Parameter param);
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. |
Examples
ComChannel myComCannel = GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
Request req = GetRequest(CreateDiagServiceByName(myComCannel,"DiagnServi_ReadDataByIdentActuaTestStatu"));
Parameter param = GetParameterByPath(req, "Param_RequeServiId");
SetComplexComParameter(myComCannel, param);