Difference between revisions of "Extensions.DiagCom.GetDiagServiceListBySemantic"
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<DiagCom.DiagService> ListVariable; | ||
+ | /// Flow | ||
+ | ListVariable = DiagCom.GetDiagServiceListBySemantic(ComChannelTerm, StringTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 22: | Line 25: | ||
== 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<DiagCom.DiagService> List1; | List<DiagCom.DiagService> List1; | ||
DiagCom.ComChannel ComChannel1; | DiagCom.ComChannel ComChannel1; |
Revision as of 10:14, 23 October 2018
Contents
Classification
Name | GetDiagServiceListBySemantic |
Short Description | Returns a list of Diagnostic Services with the same semantic attribute |
Class | Term |
Extension | OTX DiagCom extension |
Group | DiagService related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
List<DiagCom.DiagService> ListVariable;
/// Flow
ListVariable = DiagCom.GetDiagServiceListBySemantic(ComChannelTerm, StringTerm);
Description
The GetDiagServiceListBySemantic term returns a complete list of all DiagService handles which have the same semantic. This is required in case more than one service with the same semantic attribute value exists within the data set associated with the ComChannel.
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 | List of of all DiagService handles. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Term | - | [1] | The ComChannelTerm that shall be queried for all the services with the given semantic. |
Semantic | String | Term | - | [1] | The semantic value of the DiagServices to be returned (eg: "DEFAULT_FAULTREAD" or "IDENTIFICATION"). |
OTL Examples
/// Local Declarations
List<DiagCom.DiagService> List1;
DiagCom.ComChannel ComChannel1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllUDSSyste", "", false);
List1 = DiagCom.GetDiagServiceListBySemantic(ComChannel1, "CALIBRATIONREAD");
See also
GetDiagServiceFromResult
GetDiagServiceFromException
GetDiagServiceName
ExecuteDiagService
GetComChannel