Extensions.DiagCom.GetResultState
Jump to navigation
Jump to search
Contents
Classification
Name | GetResultState |
Short Description | The state of Result |
Class | Term |
Extension | OTX DiagCom extension |
Group | Result related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ResultState = DiagCom.GetResultState(ResultTerm);
Description
The GetResultState term retrieve the state of a Result(i.e. whether the ECU(s) answered at all, correctly, positively or negatively).
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
ResultState | State of the Result. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ResultEcu | Result | Term | - | [1] | Result object. |
OTL Examples
DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
DiagCom.Result Result1;
DiagCom.ResultState ResultState1 = @ResultStates:ALL_INVALID;
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.StartRepeatedExecution(DiagService1);
DiagCom.ExecuteDiagService(DiagService1, {}, {}, false, false);
DiagCom.StopRepeatedExecution(DiagService1);
Result1 = DiagCom.GetFirstResult(DiagService1);
ResultState1 = DiagCom.GetResultState(Result1);