Difference between revisions of "Extensions.DiagCom.StartRepeatedExecution"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:DiagCom]]
+
{{DISPLAYTITLE:OTX '''StartRepeatedExecution'''}}[[Category:DiagCom]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | StartRepeatedExecution | Executing repeatedly a [[DiagService]] | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[InvalidStateException]] <br/> [[IncompleteParameterizationException]] | - }}
+
{{ClassificationActivity | StartRepeatedExecution | Executing repeatedly a [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | [[Action]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[Extensions.DiagCom.InvalidStateException|InvalidStateException]] <br/> [[Extensions.DiagCom.IncompleteParameterizationException|IncompleteParameterizationException]] | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 9: Line 9:
  
 
== Description ==
 
== Description ==
The OTX '''StartRepeatedExecution''' action be used to executed repeatedly a [[DiagService]]. The repetition time shall be set through the [[SetRepetitionTime]] action and queried by the [[GetRepetitionTime]] term. To stop a repeated service execution, the [[StopRepeatedExecution]] action is to be used.
+
The OTX '''StartRepeatedExecution''' action be used to executed repeatedly a [[Core.DataTypes.ComplexDataType.DiagService|DiagService]]. The repetition time shall be set through the [[Extensions.DiagCom.SetRepetitionTime|SetRepetitionTime]] action and queried by the [[Extensions.DiagCom.GetRepetitionTime|GetRepetitionTime]] term. To stop a repeated service execution, the [[Extensions.DiagCom.StopRepeatedExecution|StopRepeatedExecution]] action is to be used.
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| DiagService | [[DiagService ]] | [[Term]] | - | [1] | The service which shall be executed repeatedly. }}
+
{{TableRowPropertie1| DiagService | [[Core.DataTypes.ComplexDataType.DiagService|DiagService ]] | [[Term]] | - | [1] | The service which shall be executed repeatedly. }}
 
|}
 
|}
  
Line 29: Line 29:
  
 
== See also ==
 
== See also ==
[[GetComChannel]] <br/>
+
[[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/>
[[CreateDiagServiceByName]] <br/>
+
[[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/>
[[StopRepeatedExecution]] <br/>
+
[[Extensions.DiagCom.StopRepeatedExecution|StopRepeatedExecution]] <br/>
[[SetRepetitionTime]] <br/>
+
[[Extensions.DiagCom.SetRepetitionTime|SetRepetitionTime]] <br/>
[[GetRepetitionTime]]
+
[[Extensions.DiagCom.GetRepetitionTime|GetRepetitionTime]]

Revision as of 08:21, 5 February 2016

Classification

Name StartRepeatedExecution
Short Description Executing repeatedly a DiagService
Class Action
Extension OTX DiagCom extension
Group DiagService related actions
Exceptions InvalidStateException
IncompleteParameterizationException
Checker Rules -
Standard Compliant Yes

OTL Syntax

DiagCom.StartRepeatedExecution(DiagServiceTerm);

Description

The OTX StartRepeatedExecution action be used to executed repeatedly a DiagService. The repetition time shall be set through the SetRepetitionTime action and queried by the GetRepetitionTime term. To stop a repeated service execution, the StopRepeatedExecution action is to be used.

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", null, false);
myDiagService = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.StartRepeatedExecution(myDiagService);
DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false);

See also

GetComChannel
CreateDiagServiceByName
StopRepeatedExecution
SetRepetitionTime
GetRepetitionTime