OTX Reference  
OpenTestSystem.Otx.Extensions.DiagDataBrowsing.Terms.GetEcuVariantList Class Reference

Get list the names of all ECU variants. More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagDataBrowsing.Terms.GetEcuVariantList:
Inheritance graph

Public Attributes

ComChannelTerm comChannel
 Comprises the handle of the communication channel (LogicalLink). More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Get list the names of all ECU variants.

GetEcuVariantList returns a list of strings which represents the names of all ECU variants for a given communication channel.

The channel will either point to a base variant or an ECU variant – in both cases, the names of the ECU variants of the base variant will be returned. If a base variant has no associated ECU variants, an empty list will be returned.
If the communication channel belongs to the category PROTOCOL or FUNCTIONAL_GROUP, the TypeMismatchException exception will be thrown.

Note
NOTE - In the case of a MVCI/ODX based system, the equivalent of a variant name will be the SHORT-NAME of an ECU-VARIANT.
Exceptions
Core.Exceptions.TypeMismatchExceptionIt is thrown if the communication channel belongs to the category PROTOCOL or FUNCTIONAL_GROUP
Syntax
ListTerm = DiagDataBrowsing.GetEcuVariantList(ComChannelTerm ComChannel);
Examples
// Local Declarations
List<String> List1;
DiagCom.ComChannel ComChannel1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
List1 = DiagDataBrowsing.GetEcuVariantList(ComChannel1);

Member Data Documentation

◆ comChannel

ComChannelTerm OpenTestSystem.Otx.Extensions.DiagDataBrowsing.Terms.GetEcuVariantList.comChannel

Comprises the handle of the communication channel (LogicalLink).