Difference between revisions of "Extensions.DiagCom.GetResultState"

From emotive
Jump to navigation Jump to search
Line 5: Line 5:
 
== Pseudo-Code Syntax ==
 
== Pseudo-Code Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
GetResultState(Result resultVariable, ResultState state);
+
ResultState GetResultState(Result resultVariable);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 02:43, 18 July 2014

Big text

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

Pseudo-Code Syntax

ResultState GetResultState(Result resultVariable);

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.

Examples

ResultState state = GetResultState(resultEcu);

See also

GetFirstResult
GetAllResults