Difference between revisions of "Extensions.DiagCom.IdentifyAndSelectVariant"

From emotive
Jump to navigation Jump to search
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{DISPLAYTITLE:OTX '''IdentifyAndSelectVariant'''}}[[Category:DiagCom]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | IdentifyAndSelectVariant | Performs a variant identification by | [[Action]] | [[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]] | - }}
  
== Pseudo-Code Syntax ==
+
== OTL Syntax ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
DiagCom.IdentifyAndSelectVariant(ComChannelValue comChannel);
 +
</syntaxhighlight>
  
 
== Description ==
 
== 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 ==
 
== Properties ==
 +
{| {{TableHeader}}
 +
{{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.}}
 +
|}
  
== Examples ==
+
== OTL Examples ==
 +
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
/// Local Declarations
 +
 
 +
DiagCom.ComChannel ComChannel1;
 +
 
 +
/// Flow
 +
 
 +
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
 +
DiagCom.IdentifyAndSelectVariant(ComChannel1);
 +
</syntaxhighlight>
  
 
== See also ==
 
== See also ==
 +
[[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);

See also

GetComChannel