Difference between revisions of "Extensions.DiagCom.SetComParameter"
Jump to navigation
Jump to search
m (Hb moved page SetComParameter to Extensions.DiagCom.SetComParameter: #3153) |
|||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''SetComParameter'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | SetComParameter | Setting of communication parameters | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[ComParameter related actions]] | [[UnknownTargetException]] <br/> [[TypeMismatchException]] | - }} | + | {{ClassificationActivity | SetComParameter | Setting of communication parameters | [[Action]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[ComParameter related actions]] | [[UnknownTargetException]] <br/> [[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| Name | [[String]] | [[Term]] | - | [0..1] | Name to be changed Communication Save Meters.}} | + | {{TableRowPropertie2| Name | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [0..1] | Name to be changed Communication Save Meters.}} |
{{TableRowPropertie1| Value | - | [[Variable]] | - | [0..1] | New value of the communication parameter.}} | {{TableRowPropertie1| Value | - | [[Variable]] | - | [0..1] | New value of the communication parameter.}} | ||
|} | |} | ||
Line 28: | Line 28: | ||
== See also == | == See also == | ||
− | [[GetComChannel]] <br/> | + | [[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/> |
− | [[SetComplexComParameter]] | + | [[Extensions.DiagCom.SetComplexComParameter|SetComplexComParameter]] |
Revision as of 07:57, 5 February 2016
Classification
Name | SetComParameter |
Short Description | Setting of communication parameters |
Class | Action |
Extension | OTX DiagCom extension |
Group | ComParameter related actions |
Exceptions | UnknownTargetException TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DiagCom.SetComParameter(ComChannelVariable, StringTerm, Variable);
Description
OTX SetComParameter activity is used to change the communication parameter, such as baud rate or CAN-out of a communication channel.
![]()
In an ODX/MVCI based Diagnostic Runtime System the communication parameters in the "D-PDU API/ODX Communication parameters" specification are defined.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Variable | - | [1] | Communication Channel (Control unit). |
Name | String | Term | - | [0..1] | Name to be changed Communication Save Meters. |
Value | - | Variable | - | [0..1] | New value of the communication parameter. |
OTL Examples
DiagCom.ComChannel myComCannel;
myComCannel = DiagCom.GetComChannel("LL_AllUDSSyste", null, false);
DiagCom.SetComParameter(myComCannel, "Name1", "MyComChannel");