Difference between revisions of "Extensions.DiagCom.StartRepeatedExecution"

From emotive
Jump to navigation Jump to search
(No difference)

Revision as of 07:01, 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