Difference between revisions of "Extensions.DiagDataBrowsing.GetDiagServiceList"
Jump to navigation
Jump to search
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:DiagDataBrowsing]] | + | {{DISPLAYTITLE:OTX '''GetDiagServiceList'''}}[[Category:DiagDataBrowsing]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDiagServiceList | Return list of available diagnostic services of a communication channel | [[Term]] | [[DiagDataBrowsing|OTX DiagDataBrowsing extension]] | [[DiagDataBrowsing terms]] | - | - }} | + | {{ClassificationActivity | GetDiagServiceList | Return list of available diagnostic services of a communication channel | [[Term]] | [[Extensions.DiagDataBrowsing|OTX DiagDataBrowsing extension]] | [[Extensions.DiagDataBrowsing#Terms|DiagDataBrowsing terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | ListTerm | + | ListTerm DiagDataBrowsing.GetDiagServiceList(ComChannelTerm ComChannel); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | '''GetDiagServiceList''' returns a list of strings containing the names of all | + | '''GetDiagServiceList''' returns a list of strings containing the names of all diagnostic services available for a given communication channel. |
− | {{TermReturnValue| [[List]] | Return list of available diagnostic services of a communication channel}} | + | {{Note|NOTE — In the case of a MVCI/ODX based system, the equivalent of a diagnostic service name will be the SHORT-NAME of a DIAG-COMM.}} |
+ | |||
+ | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | Return list of available diagnostic services of a communication channel}} | ||
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| ComChannel | [[Extensions.DiagCom.ComChannel|ComChannel]] | [[Term]] | - | [1] | This element represents the communication channel whose diagnostic services will 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> | ||
== See also == | == See also == | ||
− | [[ | + | [[Extensions.DiagDataBrowsing.GetComChannelList|GetComChannelList]] <br/> |
− | [[ | + | [[Extensions.DiagDataBrowsing.GetEcuVariantList|GetEcuVariantList]] <br/> |
− | [[GetRequestParameterList]] <br/> | + | [[Extensions.DiagDataBrowsing.GetRequestParameterList|GetRequestParameterList]] <br/> |
− | [[GetResponseParameterList]] <br/> | + | [[Extensions.DiagDataBrowsing.GetResponseParameterList|GetResponseParameterList]] <br/> |
− | [[GetAllowedParameterValueList]] | + | [[Extensions.DiagDataBrowsing.GetAllowedParameterValueList|GetAllowedParameterValueList]] |
Latest revision as of 10:27, 12 September 2019
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
ListTerm DiagDataBrowsing.GetDiagServiceList(ComChannelTerm ComChannel);
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 will 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 will 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