Difference between revisions of "Extensions.DiagCom.CreateDiagServiceByName"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
The '''CreateDiagServiceByName''' term creates a handle to a diagnostic service, which can be used for further parameterization or for direct ship, see [[Diagnostic Runtime System]]. The diagnostic service is selected by its name. | The '''CreateDiagServiceByName''' term creates a handle to a diagnostic service, which can be used for further parameterization or for direct ship, see [[Diagnostic Runtime System]]. The diagnostic service is selected by its name. | ||
− | {{TermReturnValue| [[DiagService]] | Generated Diagnostics Service.}} | + | {{TermReturnValue| [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | Generated Diagnostics Service.}} |
== Properties == | == Properties == |
Revision as of 01:40, 15 February 2016
Contents
Classification
Name | CreateDiagServiceByName |
Short Description | Creates a diagnostic service on its behalf |
Class | Term |
Extension | OTX DiagCom extension |
Group | DiagService related terms |
Exceptions | UnknownTargetException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DiagServiceTerm = DiagCom.CreateDiagServiceByName(ComChannelTerm, StringTerm);
Description
The CreateDiagServiceByName term creates a handle to a diagnostic service, which can be used for further parameterization or for direct ship, see Diagnostic Runtime System. The diagnostic service is selected by its name.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
DiagService | Generated Diagnostics Service. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Term | - | [1] | Communication Channel. |
Name | String | Term | - | [1] | Name des Diagnoseservices (SHORT-NAME). |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
See also
CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromResult
GetDiagServiceFromException
GetDiagServiceName
ExecuteDiagService
GetComChannel