Difference between revisions of "Extensions.DiagCom.StartRepeatedExecution"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{ClassificationActivity | StartRepeatedExecution | Executing repeatedly a [[DiagService]] | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[InvalidStateException]] <br/> [[IncompleteParameterizationException]] | - }} | {{ClassificationActivity | StartRepeatedExecution | Executing repeatedly a [[DiagService]] | [[Action]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related actions]] | [[InvalidStateException]] <br/> [[IncompleteParameterizationException]] | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | StartRepeatedExecution( | + | DiagCom.StartRepeatedExecution(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 | + | DiagCom.ComChannel myComCannel; |
− | DiagService myDiagService | + | DiagCom.DiagService myDiagService; |
− | StartRepeatedExecution(myDiagService); | + | myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", null, false); |
− | + | myDiagService = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu"); | |
− | ExecuteDiagService(myDiagService, | + | DiagCom.StartRepeatedExecution(myDiagService); |
+ | DiagCom.ExecuteDiagService(myDiagService, {}, {}, false, false); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 09:54, 4 February 2015
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