Difference between revisions of "Extensions.DiagCom.GetDiagServiceName"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{ClassificationActivity | GetDiagServiceName | Name of the diagnostic services | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related terms]] | - | - }} | {{ClassificationActivity | GetDiagServiceName | Name of the diagnostic services | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related terms]] | - | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | StringTerm = DiagCom.GetDiagServiceName(DiagServiceTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 19: | Line 19: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | String | + | DiagCom.ComChannel myComCannel; |
+ | DiagCom.DiagService DiagService1; | ||
+ | String String1; | ||
+ | |||
+ | myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false); | ||
+ | DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentCalibData"); | ||
+ | String1 = DiagCom.GetDiagServiceName(DiagService1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 07:05, 5 February 2015
Contents
Classification
Name | GetDiagServiceName |
Short Description | Name of the diagnostic services |
Class | Term |
Extension | OTX DiagCom extension |
Group | DiagService related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm = DiagCom.GetDiagServiceName(DiagServiceTerm);
Description
The GetDiagServiceName term is the name of the diagnostic services back.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | Name of the diagnostic services. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DiagService | DiagService | Term | - | [1] | Diagnostics Service. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
String String1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentCalibData");
String1 = DiagCom.GetDiagServiceName(DiagService1);
See also
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromResult