Difference between revisions of "Extensions.DiagCom.GetAllResults"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
<big>Big text</big>[[Category:DiagCom]]
+
{{DISPLAYTITLE:OTX '''GetAllResults'''}}[[Category:DiagCom]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetAllResults | List of all results of diagnostic services performed | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[Result related terms]] | - | - }}
+
{{ClassificationActivity | GetAllResults | List of all results of diagnostic services performed | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Result related terms]] | - | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 13: Line 13:
 
The list is returned in time ausfsteigender order. That is the first entry is the oldest object, last entry is newest object.
 
The list is returned in time ausfsteigender order. That is the first entry is the oldest object, last entry is newest object.
  
In contrast to the  [[GetAllResultsAndClear]] activity, this term reads only the results of diagnostic services performed and does not clear the internal buffer, so that the results continue to be evaluated for other activities. One application for this is for example the '''monitoring of diagnostic communication'''.
+
In contrast to the  [[Extensions.DiagCom.GetAllResultsAndClear|GetAllResultsAndClear]] activity, this term reads only the results of diagnostic services performed and does not clear the internal buffer, so that the results continue to be evaluated for other activities. One application for this is for example the '''monitoring of diagnostic communication'''.
  
{{TermReturnValue| [[List]] | List of result object of diagnostic services.}}
+
{{TermReturnValue| [[Core.DataTypes.ComplexDataType.ContainerDataType.List|List]] | List of result object of diagnostic services.}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| DiagService | [[DiagService]] | [[Term]] | - | [1] | Diagnostics Service.}}
+
{{TableRowPropertie1| DiagService | [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | [[Term]] | - | [1] | Diagnostics Service.}}
 
|}
 
|}
  
Line 39: Line 39:
  
 
== See also ==
 
== See also ==
[[GetFirstResult]] <br/>
+
[[Extensions.DiagCom.GetFirstResult|GetFirstResult]] <br/>
[[ExecuteDiagService]]
+
[[Extensions.DiagCom.ExecuteDiagService|ExecuteDiagService]]

Revision as of 02:09, 15 February 2016

Classification

Name GetAllResults
Short Description List of all results of diagnostic services performed
Class Term
Extension OTX DiagCom extension
Group Result related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm = DiagCom.GetAllResults(DiagServiceTerm);

Description

The GetAllResults term is a list of all the results of a diagnostic services that run back. This is necessary especially for the evaluation of the responses of several ECUs.

The list is returned in time ausfsteigender order. That is the first entry is the oldest object, last entry is newest object.

In contrast to the GetAllResultsAndClear activity, this term reads only the results of diagnostic services performed and does not clear the internal buffer, so that the results continue to be evaluated for other activities. One application for this is for example the monitoring of diagnostic communication.

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
List List of result object of diagnostic services.

Properties

Name Data Type Class Default Cardinality Description
DiagService DiagService Term - [1] Diagnostics Service.

OTL Examples

DiagCom.ComChannel myComCannel;
DiagCom.DiagService DiagService1;
List<DiagCom.Result> List1;

myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.SetRepetitionTime(DiagService1, 50);
DiagCom.StartRepeatedExecution(DiagService1);
DiagCom.ExecuteDiagService(DiagService1, {}, {}, false, false);
DiagCom.StopRepeatedExecution(DiagService1);
List1 = DiagCom.GetAllResults(DiagService1);

See also

GetFirstResult
ExecuteDiagService