Difference between revisions of "Extensions.DiagCom.GetResultState"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
<big>Big text</big>[[Category:DiagCom]]
+
{{DISPLAYTITLE:OTX '''GetResultState'''}}[[Category:DiagCom]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetResultState | The state of [[Result]] | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[Result related terms]] | - | - }}
+
{{ClassificationActivity | GetResultState | The state of [[Extensions.DiagCom.Result|Result]] | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Result related terms]] | - | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 11: Line 11:
 
The '''GetResultState''' term retrieve the state of a [[Result]](i.e. whether the ECU(s) answered at all, correctly, positively or negatively).
 
The '''GetResultState''' term retrieve the state of a [[Result]](i.e. whether the ECU(s) answered at all, correctly, positively or negatively).
  
{{TermReturnValue| [[ResultState]] | State of the [[Result]].}}
+
{{TermReturnValue| [[Extensions.DiagCom.ResultState|ResultState]] | State of the [[Extensions.DiagCom.Result|Result]].}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| ResultEcu | [[Result]] | [[Term]] | - | [1] | Result object.}}
+
{{TableRowPropertie1| ResultEcu | [[Extensions.DiagCom.Result|Result]] | [[Term]] | - | [1] | Result object.}}
 
|}
 
|}
  
Line 36: Line 36:
  
 
== See also ==
 
== See also ==
[[GetFirstResult]] <br/>
+
[[Extensions.DiagCom.GetFirstResult|GetFirstResult]] <br/>
[[GetAllResults]]
+
[[Extensions.DiagCom.GetAllResults|GetAllResults]]

Revision as of 02:11, 15 February 2016

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.

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

See also

GetFirstResult
GetAllResults