Difference between revisions of "Extensions.DiagCom.IdentifyAndSelectVariant"
Jump to navigation
Jump to search
| (6 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''IdentifyAndSelectVariant'''}}[[Category:DiagCom]] | {{DISPLAYTITLE:OTX '''IdentifyAndSelectVariant'''}}[[Category:DiagCom]] | ||
== Classification == | == Classification == | ||
| − | {{ClassificationActivity | IdentifyAndSelectVariant | Performs a variant identification by | [[Action]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[ComChanel related actions]] | [[LossOfComException]] | - }} | + | {{ClassificationActivity | IdentifyAndSelectVariant | Performs a variant identification by | [[Action]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Extensions.DiagCom#Actions|ComChanel related actions]] | [[Extensions.DiagCom.LossOfComException|LossOfComException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| − | IdentifyAndSelectVariant( | + | DiagCom.IdentifyAndSelectVariant(ComChannelValue comChannel); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
| − | The OTX '''IdentifyAndSelectVariant''' activity is used to | + | The OTX '''IdentifyAndSelectVariant''' activity is used to tell the communication backend to identify the ECU variant that is present at runtime at a specific communication channel. In case an ECU variant can be identified, the communication channel is switched to point to that specific variant. |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
| − | {{ | + | {{TableRowPropertie2| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Value]] | - | [1] | This element comprises the communication channel which will be used for identifying the actual variant of the ECU the communication channel is connected to.}} |
|} | |} | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| − | + | /// Local Declarations | |
| − | + | DiagCom.ComChannel ComChannel1; | |
| − | IdentifyAndSelectVariant( | + | |
| + | /// Flow | ||
| + | |||
| + | ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false); | ||
| + | DiagCom.IdentifyAndSelectVariant(ComChannel1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
[[Extensions.DiagCom.GetComChannel|GetComChannel]] | [[Extensions.DiagCom.GetComChannel|GetComChannel]] | ||
Latest revision as of 10:00, 12 September 2019
Classification
| Name | IdentifyAndSelectVariant |
| Short Description | Performs a variant identification by |
| Class | Action |
| Extension | OTX DiagCom extension |
| Group | ComChanel related actions |
| Exceptions | LossOfComException |
| Checker Rules | - |
| Standard Compliant | Yes |
OTL Syntax
DiagCom.IdentifyAndSelectVariant(ComChannelValue comChannel);Description
The OTX IdentifyAndSelectVariant activity is used to tell the communication backend to identify the ECU variant that is present at runtime at a specific communication channel. In case an ECU variant can be identified, the communication channel is switched to point to that specific variant.
Properties
| Name | Data Type | Class | Default | Cardinality | Description |
| ComChannel | ComChannel | Value | - | [1] | This element comprises the communication channel which will be used for identifying the actual variant of the ECU the communication channel is connected to. |
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
DiagCom.IdentifyAndSelectVariant(ComChannel1);