Difference between revisions of "Extensions.DiagCom.GetRepetitionTime"
Jump to navigation
Jump to search
(Created page with "Category:DiagCom == Classification == {{ClassificationActivity | GetRepetitionTime | Cycle time of a diagnostic service | Term | OTX DiagCom extension | ...") |
|||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:DiagCom]] | + | {{DISPLAYTITLE:OTX '''GetRepetitionTime'''}}[[Category:DiagCom]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetRepetitionTime | Cycle time of a diagnostic service | [[Term]] | [[DiagCom|OTX DiagCom extension]] | [[DiagService related terms]] | - | - }} | + | {{ClassificationActivity | GetRepetitionTime | Cycle time of a diagnostic service | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Extensions.DiagCom#Terms|DiagService related terms]] | - | - }} |
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | GetRepetitionTime( | + | IntegerTerm DiagCom.GetRepetitionTime(DiagServiceTerm diagService); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | The '''GetRepetitionTimeterm''' accepts a [[DiagService]] and returns the currently set repetition cycle time of that diag service in milliseconds (ms). | + | The '''GetRepetitionTimeterm''' accepts a [[Extensions.DiagCom.DiagService|DiagService]] and returns the currently set repetition cycle time of that diag service in milliseconds (ms). |
+ | |||
+ | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | Repetition time of the [[Extensions.DiagCom.DiagService|DiagService]].}} | ||
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| DiagService | [[Extensions.DiagCom.DiagService|DiagService]] | [[Term]] | - | [1] | The '''DiagService''' of which the current repetition cycle time will be returned.}} |
− | |||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | Integer | + | /// 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); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
− | [[CreateDiagServiceByName]] <br/> | + | [[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/> |
− | [[CreateDiagServiceBySemantic]] <br/> | + | [[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/> |
− | [[GetDiagServiceListBySemantic]] <br/> | + | [[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] <br/> |
− | [[ | + | [[Extensions.DiagCom.SetRepetitionTime|SetRepetitionTime]] <br/> |
+ | [[Extensions.DiagCom.GetDiagServiceListBySemantic|GetDiagServiceListBySemantic]] <br/> | ||
+ | [[Extensions.DiagCom.GetDiagServiceFromResult|GetDiagServiceFromResult]] |
Latest revision as of 09:56, 12 September 2019
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