Classification
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!
|
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);
See also
GetFirstResult
GetAllResults