Extensions.DiagCom.IdentifyAndSelectVariant

From emotive
Revision as of 09:52, 14 July 2014 by Nb (talk | contribs) (→‎Examples)
Jump to navigation Jump to search

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

Pseudo-Code Syntax

IdentifyAndSelectVariant(ComChannel comChannel);

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
Name String Value - [0..1] Name to refer to the activity.
Description String Value - - Description (specification) of the activity.
Enabled Boolean Value false [0..1] Activity is enabled or not.
ComChannel ComChannel Variable - [1] Communication Channel (Control unit).
Valid for Boolean Term - [0..1] Refers to a Validity, which determines whether the activity at runtime is executed or not, see Validity concept.

Examples

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

See also