Difference between revisions of "Extensions.DiagCom.SetComplexComParameter"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | DiagCom.SetComplexComParameter(ComChannelValue, ParameterTerm); | + | DiagCom.SetComplexComParameter(ComChannelValue ComChannel, ParameterTerm Parameter); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 11:00, 31 October 2018
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(ComChannelValue ComChannel, ParameterTerm 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 system, complex communication parameter data types are used to define response ID lists for the functional addressing use case.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Value | - | [1] | This element comprises the communication channel where the communication parameter shall be modified. |
Parameter | Parameter | Term | - | [1] | This element comprises the parameter structure which shall be set. |
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel1;
DiagCom.Parameter Parameter1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_CentrElectUDS", "EV_BCMCONTI_009", false);
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu"), {}, {}, NULL, NULL, false, false);
Parameter1 = DiagCom.GetComplexComParameter(ComChannel1, "CP_TesterPresentMessage");
DiagCom.SetParameterValue(Parameter1, &AAAA);
DiagCom.SetComplexComParameter(ComChannel1, Parameter1);
See also
GetComChannel
ExecuteDiagService
GetComplexComParameter
SetParameterValue