Difference between revisions of "Extensions.DiagDataBrowsing.GetEcuVariantList"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | /// Local Declarations | |
+ | List<String> ListVariable; | ||
+ | /// Flow | ||
+ | ListVariable = DiagDataBrowsing.GetEcuVariantList(ComChannelTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 20: | Line 23: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Term]] | - | [1] | This element represents the communication channel which provides the data.}} |
|} | |} | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
List<String> List1; | List<String> List1; | ||
DiagCom.ComChannel ComChannel1; | DiagCom.ComChannel ComChannel1; | ||
+ | |||
+ | /// Flow | ||
ComChannel1 = DiagCom.GetComChannel("LL_AccesStartInterUDS", "", false); | ComChannel1 = DiagCom.GetComChannel("LL_AccesStartInterUDS", "", false); |
Revision as of 03:10, 24 October 2018
Contents
Classification
Name | GetEcuVariantList |
Short Description | Return list of names of all ECU variants of a communication channel |
Class | Term |
Extension | OTX DiagDataBrowsing extension |
Group | DiagDataBrowsing terms |
Exceptions | TypeMismatchException |
Checker Rules | - |
Standard Compliant | Yes |
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_AccesStartInterUDS", "", false);
List1 = DiagDataBrowsing.GetEcuVariantList(ComChannel1);
See also
GetComChannelList
GetDiagServiceList
GetRequestParameterList
GetResponseParameterList
GetAllowedParameterValueList