Difference between revisions of "Extensions.DiagDataBrowsing.GetDiagServiceList"
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.GetDiagServiceList(ComChannelTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 18: | Line 21: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Term]] | - | [1] | This element represents the communication channel whose diagnostic services shall be listed.}} |
|} | |} | ||
== 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; | ||
− | ComChannel1 = DiagCom.GetComChannel(" | + | /// Flow |
+ | |||
+ | ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false); | ||
List1 = DiagDataBrowsing.GetDiagServiceList(ComChannel1); | List1 = DiagDataBrowsing.GetDiagServiceList(ComChannel1); | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 03:12, 24 October 2018
Contents
Classification
Name | GetDiagServiceList |
Short Description | Return list of available diagnostic services of a communication channel |
Class | Term |
Extension | OTX DiagDataBrowsing extension |
Group | DiagDataBrowsing terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
List<String> ListVariable;
/// Flow
ListVariable = DiagDataBrowsing.GetDiagServiceList(ComChannelTerm);
Description
GetDiagServiceList returns a list of strings containing the names of all diagnostic services available for a given communication channel.
![]()
NOTE — In the case of a MVCI/ODX based system, the equivalent of a diagnostic service name shall be the SHORT-NAME of a DIAG-COMM.
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 available diagnostic services of a communication channel |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Term | - | [1] | This element represents the communication channel whose diagnostic services shall be listed. |
OTL Examples
/// Local Declarations
List<String> List1;
DiagCom.ComChannel ComChannel1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", NULL, false);
List1 = DiagDataBrowsing.GetDiagServiceList(ComChannel1);
See also
GetComChannelList
GetEcuVariantList
GetRequestParameterList
GetResponseParameterList
GetAllowedParameterValueList