Difference between revisions of "Extensions.DiagCom.StopRepeatedExecution"

From emotive
Jump to navigation Jump to search
Line 3: Line 3:
 
{{ClassificationActivity | StopRepeatedExecution | Stop executing repeatedly a [[DiagService]] | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[InvalidStateException]] | - }}
 
{{ClassificationActivity | StopRepeatedExecution | Stop executing repeatedly a [[DiagService]] | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[InvalidStateException]] | - }}
  
== Pseudo-Code Syntax ==
+
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
StopRepeatedExecution(DiagService myDiagService);
+
DiagCom.StopRepeatedExecution(DiagServiceTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 17: Line 17:
 
|}
 
|}
  
== Examples ==
+
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
+
DiagCom.ComChannel myComCannel;
DiagService myDiagService = CreateDiagServiceByName(myComChannel, "DiagnServi_ReadDataByIdentECUIdent");
+
DiagCom.DiagService myDiagService;
  
StartRepeatedExecution(myDiagService);
+
myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
 
+
myDiagService = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
ExecuteDiagService(myDiagService, new RequestParameters<RequestParameter>() { { "Param_RecorDataIdent", "Spare Part Number" } }, new ResponseParameters<ResponseParameter>() { { "Resp_ReadDataByIdentECUIdent.Param_DataRecor.Param_SparePartNumbe", mySparePartNumberStringVariable } }, false, false);
+
DiagCom.StartRepeatedExecution(myDiagService);
 
+
DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false);
StopRepeatedExecution(myDiagService);
+
DiagCom.StopRepeatedExecution(myDiagService);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 10:00, 4 February 2015

Classification

Name StopRepeatedExecution
Short Description Stop executing repeatedly a DiagService
Class Action
Extension OTX DiagCom extension
Group DiagService related actions
Exceptions InvalidStateException
Checker Rules -
Standard Compliant Yes

OTL Syntax

DiagCom.StopRepeatedExecution(DiagServiceTerm);

Description

The OTX StopRepeatedExecution action be used to stop executed repeatedly a DiagService.

Properties

Name Data Type Class Default Cardinality Description
DiagService DiagService Term - [1] The service which shall be executed repeatedly.

OTL Examples

DiagCom.ComChannel myComCannel;
DiagCom.DiagService myDiagService;

myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
myDiagService = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.StartRepeatedExecution(myDiagService);
DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false);
DiagCom.StopRepeatedExecution(myDiagService);

See also

GetComChannel
CreateDiagServiceByName
StartRepeatedExecution
SetRepetitionTime
GetRepetitionTime