OTX Reference  
OpenTestSystem.Otx.Extensions.DiagCom.Actions.StartRepeatedExecution Class Reference

Starts the cyclical sending More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.DiagCom.Actions.StartRepeatedExecution:
Inheritance graph

Public Attributes

DiagServiceValue diagService
 Diagnostic service reference handle. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Starts the cyclical sending

The StartRepeatedExecution-activity starts the cyclic execution of a diagnostic service. The SetRepetitionTime activity is for setting the cycle time .

Exceptions
Exceptions.InvalidStateExceptionThe diag service is already being executed repeatedly.
Exceptions.IncompleteParameterizationExceptionOne or more request parameters of the diag service have not been set and do not have a default value.
Syntax
DiagCom.StartRepeatedExecution(DiagServiceValue diagService);
DiagServiceValue diagService
Diagnostic service reference handle.
Definition: DiagCom.cs:1170
Examples
// Local Declarations
DiagCom.DiagService DiagService1;
List<DiagCom.Result> List1;
DiagCom.ComChannel ComChannel1;
// Flow
ComChannel1 = DiagCom.GetComChannel("LL_GatewUDS", "EV_GatewLear_006", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_DiagnSessiContr");
DiagCom.StartRepeatedExecution(DiagService1);
EventHandling.Sleep(50);
DiagCom.StopRepeatedExecution(DiagService1);
List1 = DiagCom.GetAllResults(DiagService1);

Member Data Documentation

◆ diagService

DiagServiceValue OpenTestSystem.Otx.Extensions.DiagCom.Actions.StartRepeatedExecution.diagService

Diagnostic service reference handle.