Difference between revisions of "Extensions.DiagCom.IdentifyAndSelectVariant"

From emotive
Jump to navigation Jump to search
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]] | [[Core.Actions.Throw.Exception.LossOfComException|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(ComChannelVariable);
+
DiagCom.IdentifyAndSelectVariant(ComChannelVariable);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
The OTX '''IdentifyAndSelectVariant''' activity is used to make the [[Diagnosis Runtime System]]  to announce that it is the ECU variant is to select the appropriate communication channel, see [[Variant Identification]] . If an ECU variant can be determined, the current communication channel is switched to this variant.
+
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}}
{{TableRowPropertie1| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Variable]] | - | [1] | Communication Channel (Control unit).}}
+
{{TableRowPropertie2| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Value]] | - | [1] | This element comprises the communication channel which shall 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;">
ComChannel myComCannel;
+
DiagCom.ComChannel ComChannel1;
  
myComCannel = GetComChannel("LL_AirbaUDS", null, false);
+
/// Flow
IdentifyAndSelectVariant(myComChannel);
+
 
 +
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
 +
DiagCom.IdentifyAndSelectVariant(ComChannel1);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== See also ==
 
== See also ==
 
[[Extensions.DiagCom.GetComChannel|GetComChannel]]
 
[[Extensions.DiagCom.GetComChannel|GetComChannel]]

Revision as of 08:54, 10 October 2018

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(ComChannelVariable);

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 shall be used for identifying the actual variant of the ECU the communication channel is connected to.

OTL Examples

DiagCom.ComChannel ComChannel1;

/// Flow

ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
DiagCom.IdentifyAndSelectVariant(ComChannel1);

See also

GetComChannel