Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetComChannelDbComChannel"

From emotive
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetComChannelDbComChannel'''}}DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetComChannelDbComChannel | Gets MCDDbLogicalLink...")
 
Line 1: Line 1:
 
{{DISPLAYTITLE:OTX '''GetComChannelDbComChannel'''}}[[DiagDataBrowsingPlus]]
 
{{DISPLAYTITLE:OTX '''GetComChannelDbComChannel'''}}[[DiagDataBrowsingPlus]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetComChannelDbComChannel | Gets MCDDbLogicalLink of a MCDLogicalLink| [[Term]] | [[Extensions.DiagDataBrowsingPlus|DiagDataBrowsingPlus]] | [[DbComChannel related terms]] | NONE | - }}
+
{{ClassificationActivity | GetComChannelDbComChannel | Gets MCDDbLogicalLink of a MCDLogicalLink| [[Term]] | [[Extensions.DiagDataBrowsingPlus|DiagDataBrowsingPlus]] | [[Extensions.DiagDataBrowsingPlus|DbComChannel related terms]] | NONE | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==

Revision as of 04:15, 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 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
ComChannel Returns a handle to the ComChannel for a given ECU

Properties

Name Data Type Class Default Cardinality Description
Identifier String Term - [1] String that the Communication Channel identified (Logical Link)
EcuVariantName String Term "" [0..1] Optionally you can select "manual" a special version here.
PerformVariantSelection Boolean Term false [0..1] Select whether a Variant Identification is to be performed or not.

ECU variant selection

An 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 IdentifyAndSelectVariant.

EcuVariantName PerformVariantSelection
Empty False No ECU variant selection is performed
Empty True An ECU variant selection is performed for the BaseVariant descriped in Identifier
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

DiagCom.ComChannel myComCannel;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);

See also

GetComChannelIdentifierFromResponse
GetComChannelEcuVariantName
IsVariant
ExecuteDiagService