Extensions.DiagCom.GetDiagServiceFromResult

From emotive
Revision as of 01:50, 15 February 2016 by Hb (talk | contribs)
Jump to navigation Jump to search

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