Difference between revisions of "Extensions.DiagCom.IdentifyAndSelectVariant"

From emotive
Jump to navigation Jump to search
 
(4 intermediate revisions by one other 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.IdentifyAndSelectVariant(ComChannelVariable);
+
DiagCom.IdentifyAndSelectVariant(ComChannelValue comChannel);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 14: Line 14:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{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.}}
+
{{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;
 
DiagCom.ComChannel ComChannel1;
  

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