Difference between revisions of "Extensions.DiagCom.IdentifyAndSelectVariant"

From emotive
Jump to navigation Jump to search
Line 3: Line 3:
 
{{ClassificationActivity | IdentifyAndSelectVariant | Performs a variant identification by | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[ComChanel related actions]] | [[LossOfComException]] | - }}
 
{{ClassificationActivity | IdentifyAndSelectVariant | Performs a variant identification by | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[ComChanel related actions]] | [[LossOfComException]] | - }}
  
== Pseudo-Code Syntax ==
+
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
IdentifyAndSelectVariant(ComChannel myComChannel);
+
IdentifyAndSelectVariant(ComChannelVariable);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 17: Line 17:
 
|}
 
|}
  
== Examples ==
+
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
+
ComChannel myComCannel;
 +
 
 +
myComCannel = GetComChannel("LL_AirbaUDS", null, false);
 
IdentifyAndSelectVariant(myComChannel);
 
IdentifyAndSelectVariant(myComChannel);
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 08:46, 4 February 2015

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

IdentifyAndSelectVariant(ComChannelVariable);

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.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Variable - [1] Communication Channel (Control unit).

OTL Examples

ComChannel myComCannel;

myComCannel = GetComChannel("LL_AirbaUDS", null, false);
IdentifyAndSelectVariant(myComChannel);

See also

GetComChannel