Extensions.DiagCom.GetRepetitionTime
Jump to navigation
Jump to search
Contents
Classification
Name | GetRepetitionTime |
Short Description | Cycle time of a diagnostic service |
Class | Term |
Extension | OTX DiagCom extension |
Group | DiagService related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
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!
Data Type | Description |
Integer | Repetition time of the DiagService. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DiagService | DiagService | Term | - | [1] | The DiagService of which the current repetition cycle time will 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