Extensions.DiagCom.GetComChannel

From emotive
Revision as of 10:32, 15 July 2014 by Nb (talk | contribs) (Created page with "== Classification == {{ClassificationActivity | GetComChannel | Represents a connection to the control unit at runtime | Term | OTX DiagCom extension | ComCh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classification

Name GetComChannel
Short Description Represents a connection to the control unit at runtime
Class Term
Extension OTX DiagCom extension
Group ComChanel related terms
Exceptions UnknownTargetException
LossOfComException
Checker Rules -
Standard Compliant Yes

Pseudo-Code Syntax

GetComChannel(String identifier, String ecuVariantName, Boolean performVariantSelection);

Description

GetComChannel is a term to create a new communication channel via the runtime system diagnosis . The communication channel represents a connection to only one control unit (Logical Link).

To create a connection to the control unit, the following rules apply:

  • The connection is created when this term is called.
  • If a link has already been created, it is used and it is carried out, no further action.
  • Even without explicitly creating the connection, the connection will be established automatically when it is needed the first time.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Return - - It will return the communication channel generated.
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.

Examples

ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);

See also

GetComChannelIdentifierFromResponse
GetComChannelEcuVariantName
IsVariant
ExecuteDiagService