OTX Reference  
OpenTestSystem.Otx.Extensions.DiagCom.Actions.IdentifyAndSelectVariant Class Reference

Selection of the ECU variant More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagCom.Actions.IdentifyAndSelectVariant:
Inheritance graph

Public Attributes

ComChannelValue comChannel
 Comprises the handle of the communication channel (LogicalLink). More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Selection of the ECU variant

The IdentifyAndSelectVariant activity is used to tell the communication backend to identify the ECU variant that is present at runtime at a specific communication channel. In case an ECU variant can be identified, the communication channel is switched to point to that specific variant, see ODX variant concept.

Exceptions
DiagCom.Exceptions.LossOfComExceptionIt is thrown if communication to the ECU was interrupted during the variant identification process.
Note
IMPORTANT - If a variantidentificationreturnswithoutidentifying a variant, a DiagComException shall be thrown.
Syntax
DiagCom.IdentifyAndSelectVariant(ComChannelValue comChannel);
ComChannelValue comChannel
Comprises the handle of the communication channel (LogicalLink).
Definition: DiagCom.cs:1512
Examples
// Local Declarations
DiagCom.ComChannel ComChannel1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
DiagCom.IdentifyAndSelectVariant(ComChannel1);

Member Data Documentation

◆ comChannel

ComChannelValue OpenTestSystem.Otx.Extensions.DiagCom.Actions.IdentifyAndSelectVariant.comChannel

Comprises the handle of the communication channel (LogicalLink).