Classification
OTL Syntax
IntegerTerm DiagCom.GetRepetitionTime(DiagServiceTerm diagService);
Description
The GetRepetitionTimeterm accepts a DiagService and returns the currently set repetition cycle time of that diag service in milliseconds (ms).
Return Value
The Term returns the value, see table below.
|
|
In OTX, Terms are categorized according to its return data type!
|
Properties
Name |
Data Type |
Class |
Default |
Cardinality |
Description
|
DiagService |
DiagService |
Term |
- |
[1] |
The DiagService of which the current repetition cycle time shall be returned.
|
OTL Examples
/// Local Declarations
DiagCom.DiagService DiagService1;
Integer Integer1;
DiagCom.ComChannel ComChannel1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu");
DiagCom.SetRepetitionTime(DiagService1, 100);
Integer1 = DiagCom.GetRepetitionTime(DiagService1);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
SetRepetitionTime
GetDiagServiceListBySemantic
GetDiagServiceFromResult