Difference between revisions of "Extensions.DiagCom.StopRepeatedExecution"

From emotive
Jump to navigation Jump to search
Line 5: Line 5:
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
DiagCom.StopRepeatedExecution(DiagServiceValue DiagService);
+
DiagCom.StopRepeatedExecution(DiagServiceValue diagService);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 09:22, 1 November 2018

Classification

Name StopRepeatedExecution
Short Description Stops the repeated execution of a DiagService
Class Action
Extension OTX DiagCom extension
Group DiagService related actions
Exceptions InvalidStateException
Checker Rules -
Standard Compliant Yes

OTL Syntax

DiagCom.StopRepeatedExecution(DiagServiceValue diagService);

Description

The OTX StopRepeatedExecution action causes the repeated execution of a DiagService to be stopped. The results of the DiagService created by the repeated service execution can be queried through the GetFirstResult / or GetAllResults terms or the GetAllResultsAndClear action. To start a repeated service execution, the StartRepeatedExecution action is to be used.

Properties

Name Data Type Class Default Cardinality Description
DiagService DiagService Value - [1] The element specifies the service which shall not be executed repeatedly any more.

OTL Examples

/// Local Declarations

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

/// Flow

ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_DiagnSessiContr");
DiagCom.StartRepeatedExecution(DiagService1);
EventHandling.Sleep(50);
DiagCom.StopRepeatedExecution(DiagService1);
List1 = DiagCom.GetAllResults(DiagService1);

See also

GetComChannel
CreateDiagServiceByName
StartRepeatedExecution
SetRepetitionTime
GetRepetitionTime
GetAllResults
GetFirstResult
GetAllResultsAndClear