Difference between revisions of "Extensions.DiagCom.CreateDiagServiceByName"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== Pseudo-Code Syntax == | == Pseudo-Code Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | CreateDiagServiceByName(ComChannel myComChannel, String diagServiceName | + | DiagService CreateDiagServiceByName(ComChannel myComChannel, String diagServiceName); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 02:22, 18 July 2014
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 |
Pseudo-Code Syntax
DiagService CreateDiagServiceByName(ComChannel myComChannel, String diagServiceName);
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). |
Examples
ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
DiagService result = CreateDiagServiceByName(myComCannel, "DiagServiceName");
See also
CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromResult
GetDiagServiceFromException
GetDiagServiceName
ExecuteDiagService
GetComChannel