Extensions.DiagCom.StartRepeatedExecution

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

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

Pseudo-Code Syntax

StartRepeatedExecution(DiagService myDiagService);

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.

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);

See also

GetComChannel
CreateDiagServiceByName
StopRepeatedExecution
SetRepetitionTime
GetRepetitionTime