Difference between revisions of "Extensions.DiagCom.GetDiagServiceFromResult"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetDiagServiceFromResult'''}}[[Category:DiagCom]] | {{DISPLAYTITLE:OTX '''GetDiagServiceFromResult'''}}[[Category:DiagCom]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDiagServiceFromResult | Diagnostic service, is assigned to the Result object | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[DiagService related terms]] | [[InvalidReferenceException]] | - }} | + | {{ClassificationActivity | GetDiagServiceFromResult | Diagnostic service, is assigned to the Result object | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[DiagService related terms]] | [[Core.Actions.Throw.Exception.InvalidReferenceException|InvalidReferenceException]] | - }} |
== OTL Syntax == | == OTL Syntax == |
Revision as of 08:02, 16 February 2016
Contents
Classification
Name | GetDiagServiceFromResult |
Short Description | Diagnostic service, is assigned to the Result object |
Class | Term |
Extension | OTX DiagCom extension |
Group | DiagService related terms |
Exceptions | InvalidReferenceException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DiagServiceTerm = DiagCom.GetDiagServiceFromResult(ResultTerm);
Description
The GetDiagServiceNameFromResult term returns the diagnostic service that is assigned to the Result object.
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 | Diagnostics Service. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ResultEcu | Result | Term | - | [1] | Result object. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.Result Result1;
DiagCom.DiagService DiagService1;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.ExecuteDiagService(DiagService1, {}, {}, false, false, Result1);
DiagService1 = DiagCom.GetDiagServiceFromResult(Result1);
See also
CreateDiagServiceBySemantic
GetDiagServiceListBySemantic
GetDiagServiceFromException
GetDiagServiceName
ExecuteDiagService
GetComChannel