Difference between revisions of "Extensions.DiagCom.SetComplexComParameter"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:DiagCom]]
+
{{DISPLAYTITLE:OTX '''etComplexComParameter'''}}[[Category:DiagCom]]
 
== 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]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[ComParameter related actions]] | [[TypeMismatchException]] | - }}
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
Line 14: Line 14:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ComChannel | [[ComChannel]] | [[Variable]] | - | [1] | Communication Channel (Control unit).}}
+
{{TableRowPropertie1| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Variable]] | - | [1] | Communication Channel (Control unit).}}
{{TableRowPropertie2| Parameter | [[Parameter]] | [[Term]] | - | [0..1] | Structure of the parameter to be changed Communication Saving Meters.}}
+
{{TableRowPropertie2| Parameter | [[Extensions.DiagCom.Parameter|Parameter]] | [[Term]] | - | [0..1] | Structure of the parameter to be changed Communication Saving Meters.}}
 
|}
 
|}
  
Line 31: Line 31:
  
 
== See also ==
 
== See also ==
[[GetComChannel]] <br/>
+
[[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/>
[[SetComParameter]]
+
[[Extensions.DiagCom.SetComParameter|SetComParameter]]

Revision as of 08:01, 5 February 2016

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.

Icons Note.png 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);

See also

GetComChannel
SetComParameter