Difference between revisions of "Extensions.DiagCom.SetComParameter"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
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.SetComParameter(ComChannelValue | + | DiagCom.SetComParameter(ComChannelValue comChannel, StringTerm name, Term value); |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 16: | Line 16: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie2| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Value]] | - | [1] | This element comprises the communication channel where the communication parameter | + | {{TableRowPropertie2| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Value]] | - | [1] | This element comprises the communication channel where the communication parameter will be modified.}} |
− | {{TableRowPropertie1| Name | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1] | This element specifies the name of the communication parameter which | + | {{TableRowPropertie1| Name | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1] | This element specifies the name of the communication parameter which will be changed.}} |
− | {{TableRowPropertie2| Value | - | [[Term]] | - | [1] | This element specifies the new communication parameter value that | + | {{TableRowPropertie2| Value | - | [[Term]] | - | [1] | This element specifies the new communication parameter value that will be set.}} |
|} | |} | ||
Latest revision as of 10:41, 4 December 2019
Classification
Name | SetComParameter |
Short Description | Changes the value of a communication parameter |
Class | Action |
Extension | OTX DiagCom extension |
Group | ComParameter related actions |
Exceptions | UnknownTargetException TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DiagCom.SetComParameter(ComChannelValue comChannel, StringTerm name, Term value);
Description
OTX SetComParameter activity is used to change the value of a communication parameter used by the communication backend. For example, bus timeouts or baud rates can be set using the SetComParameter node.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Value | - | [1] | This element comprises the communication channel where the communication parameter will be modified. |
Name | String | Term | - | [1] | This element specifies the name of the communication parameter which will be changed. |
Value | - | Term | - | [1] | This element specifies the new communication parameter value that will be set. |
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_CentrElectUDS", "EV_BCMCONTI_009", false);
DiagCom.SetComParameter(ComChannel1, "CP_TesterPresentMessage", &012345);