Difference between revisions of "Extensions.DiagCom.GetDiagServiceFromResult"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:DiagCom]]
+
{{DISPLAYTITLE:OTX '''GetDiagServiceFromResult'''}}[[Category:DiagCom]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetDiagServiceFromResult | Diagnostic service, is assigned to the Result object | [[Term]] | [[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]] | [[InvalidReferenceException]] | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 11: Line 11:
 
The '''GetDiagServiceNameFromResult''' term returns the diagnostic service that is assigned to the [[Result]] object.
 
The '''GetDiagServiceNameFromResult''' term returns the diagnostic service that is assigned to the [[Result]] object.
  
{{TermReturnValue| [[DiagService]] | Diagnostics Service.}}
+
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | Diagnostics Service.}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ResultEcu | [[Result]] | [[Term]] | - | [1] | Result object.}}
+
{{TableRowPropertie1| ResultEcu | [[Extensions.DiagCom.Result|Result]] | [[Term]] | - | [1] | Result object.}}
 
|}
 
|}
  
Line 32: Line 32:
  
 
== See also ==
 
== See also ==
[[CreateDiagServiceBySemantic]] <br/>
+
[[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] <br/>
[[GetDiagServiceListBySemantic]] <br/>
+
[[Extensions.DiagCom.GetDiagServiceListBySemantic|GetDiagServiceListBySemantic]] <br/>
[[GetDiagServiceFromException]] <br/>
+
[[Extensions.DiagCom.GetDiagServiceFromException|GetDiagServiceFromException]] <br/>
[[GetDiagServiceName]] <br/>
+
[[Extensions.DiagCom.GetDiagServiceName|GetDiagServiceName]] <br/>
[[ExecuteDiagService]] <br/>
+
[[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]] <br/>
[[GetComChannel]]
+
[[Extensions.DiagCom.GetComChannel|GetComChannel]]

Revision as of 01:50, 15 February 2016

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.

Icons Note.png 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