Classification
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