Classification
OTL Syntax
/// Local Declarations
List<String> ListVariable;
/// Flow
ListVariable = DiagDataBrowsing.GetEcuVariantList(ComChannelTerm);
Description
GetEcuVariantList shall return a list of strings which represents the names of all ECU variants for a given communication channel. The channel shall either point to a base variant or an ECU variant – in both cases, the names of the ECU variants of the base variant shall be returned. If a base variant has no associated ECU variants, an empty list shall be returned.
If the communication channel belongs to the category PROTOCOL or FUNCTIONAL_GROUP, the TypeMismatchException exception will be thrown.
|
|
NOTE — In the case of a MVCI/ODX based system, the equivalent of a variant name shall be the SHORT-NAME of an ECU-VARIANT.
|
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Data Type |
Description
|
List |
Return list of names of all ECU variants of a communication channel
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
ComChannel |
ComChannel |
Term |
- |
[1] |
This element represents the communication channel which provides the data.
|
OTL Examples
/// Local Declarations
List<String> List1;
DiagCom.ComChannel ComChannel1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
List1 = DiagDataBrowsing.GetEcuVariantList(ComChannel1);
See also
GetComChannelList
GetDiagServiceList
GetRequestParameterList
GetResponseParameterList
GetAllowedParameterValueList