Extensions.DiagCom.StopRepeatedExecution

From emotive
Revision as of 04:17, 15 July 2014 by Nb (talk | contribs) (→‎Examples)
Jump to navigation Jump to search

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

Pseudo-Code Syntax

StopRepeatedExecution(DiagService myDiagService);

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.

Examples

ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
DiagService myDiagService = CreateDiagServiceByName(myComChannel, "DiagnServi_ReadDataByIdentECUIdent");

StartRepeatedExecution(myDiagService);

ExecuteDiagService(myDiagService, new RequestParameters<RequestParameter>() { { "Param_RecorDataIdent", "Spare Part Number" } }, new ResponseParameters<ResponseParameter>() { { "Resp_ReadDataByIdentECUIdent.Param_DataRecor.Param_SparePartNumbe", mySparePartNumberStringVariable } }, false, false);

StopRepeatedExecution(myDiagService);

See also

GetComChannel
CreateDiagServiceByName
StartRepeatedExecution
SetRepetitionTime
GetRepetitionTime