Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetComChannelDbComChannel"

From emotive
Jump to navigation Jump to search
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
'''GetComChannelDbComChannel''' returns the the data base part (MCDDbLogicalLink) of a diag:ComChannel (MCDLogicalLink).
+
'''GetComChannelDbComChannel''' returns the data base part (MCDDbLogicalLink) of a diag:ComChannel (MCDLogicalLink).
  
 
{{Note|NOTE — The appropriate MVCI system operation is MCDLogicalLink::getDbObject}}
 
{{Note|NOTE — The appropriate MVCI system operation is MCDLogicalLink::getDbObject}}
  
{{TermReturnValue| [[Extensions.DiagCom.ComChannel|ComChannel]] | Returns a handle to the [[Extensions.DiagCom.ComChannel|ComChannel]] for a given ECU }}
+
{{TermReturnValue| [[Extensions.DiagDataBrowsingPlus.DbComChannel|DbComChannel]] | Returns the data base part (MCDDbLogicalLink) of a diag:ComChannel}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| Identifier | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | - | [1] | String that the Communication Channel identified (Logical Link)}}
+
{{TableRowPropertie1| comChannel | [[Extensions.DiagCom.ComChannel|ComChannel]]]] | [[Term]] | - | [1..1] | String that the Communication Channel identified (Logical Link)}}
{{TableRowPropertie2| EcuVariantName | [[Core.DataTypes.SimpleDataType.String|String]] | [[Term]] | "" | [0..1] | Optionally you can select "manual" a special version here.}}
 
{{TableRowPropertie1| PerformVariantSelection | [[Core.DataTypes.SimpleDataType.Boolean|Boolean]] | [[Term]] | false | [0..1] | Select whether a [[Variant Identification]] is to be performed or not.}}
 
|}
 
 
 
==ECU variant selection==
 
An [[EcuVariantSelection|ECU variant selection]] can be performed after opening the channel and returns a handle to the selected ECU-Variant. The variant identification functionality also exists as a separate action called [[Extensions.DiagCom.IdentifyAndSelectVariant|IdentifyAndSelectVariant]].
 
 
 
{| {{TableHeader}}
 
|- {{TableHeaderRow}}
 
| '''EcuVariantName''' || '''PerformVariantSelection''' ||
 
|- {{TableRow1}}
 
| Empty || False || No ECU variant selection is performed
 
|- {{TableRow2}}
 
| Empty || True || An ECU variant selection is performed for the [[BaseVariant]] descriped in '''Identifier'''
 
|- {{TableRow1}}
 
| NotEmpty || True || An ECU variant selection is performed. The channel is created to point at the desired [[ECUVariant]] and variant selection is performed on the link afterwards.
 
 
|}
 
|}
  
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
DiagCom.ComChannel myComCannel;
+
DiagDataBrowsingPlus.DbComChannel DbComChannel;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
+
DbComChannel = DiagDataBrowsingPlus.GetComChannelDbComChannel(DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false));
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== See also ==
 
== See also ==
[[Extensions.DiagCom.GetComChannelIdentifierFromResponse|GetComChannelIdentifierFromResponse]] <br/>
+
[[Extensions.DiagDataBrowsingPlus.GetDbComChannel|GetDbComChannel]] <br/>
[[Extensions.DiagCom.GetComChannelEcuVariantName|GetComChannelEcuVariantName]] <br/>
+
[[Extensions.DiagDataBrowsingPlus.GetDbComChannelProtocolType|GetDbComChannelProtocolType]]
[[Extensions.DiagCom.IsVariant|IsVariant]] <br/>
 
[[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]]
 

Revision as of 04:39, 7 September 2018

DiagDataBrowsingPlus

Classification

Name GetComChannelDbComChannel
Short Description Gets MCDDbLogicalLink of a MCDLogicalLink
Class Term
Extension DiagDataBrowsingPlus
Group DbComChannel related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

DiagDataBrowsingPlus.GetComChannelDbComChannel(ComChannelTerm);

Description

GetComChannelDbComChannel returns the data base part (MCDDbLogicalLink) of a diag:ComChannel (MCDLogicalLink).

Icons Note.png NOTE — The appropriate MVCI system operation is MCDLogicalLink::getDbObject

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
DbComChannel Returns the data base part (MCDDbLogicalLink) of a diag:ComChannel

Properties

Name Data Type Class Default Cardinality Description
comChannel ComChannel]] Term - [1..1] String that the Communication Channel identified (Logical Link)

OTL Examples

DiagDataBrowsingPlus.DbComChannel DbComChannel;
DbComChannel = DiagDataBrowsingPlus.GetComChannelDbComChannel(DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false));

See also

GetDbComChannel
GetDbComChannelProtocolType