Difference between revisions of "Extensions.DiagCom.StopRepeatedExecution"
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]] | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | StopRepeatedExecution( | + | 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 | + | DiagCom.ComChannel myComCannel; |
− | DiagService myDiagService | + | DiagCom.DiagService myDiagService; |
− | StartRepeatedExecution(myDiagService); | + | myComCannel = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false); |
− | + | myDiagService = DiagCom.CreateDiagServiceByName(myComCannel, "DiagnServi_ReadDataByIdentActuaTestStatu"); | |
− | ExecuteDiagService(myDiagService, | + | 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