Difference between revisions of "Extensions.DiagCom.GetRequest"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | /// Local Declarations | |
+ | DiagCom.Request RequestVariable; | ||
+ | /// Flow | ||
+ | RequestVariable = DiagCom.GetRequest(DiagServiceTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 21: | Line 24: | ||
== Examples == | == Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | |||
+ | /// Local Declarations | ||
+ | |||
DiagCom.DiagService DiagService1; | DiagCom.DiagService DiagService1; | ||
DiagCom.ComChannel ComChannel1; | DiagCom.ComChannel ComChannel1; |
Revision as of 10:20, 23 October 2018
Contents
Classification
Name | GetRequest |
Short Description | Request of the Diagnostic Services |
Class | Term |
Extension | OTX DiagCom extension |
Group | Request related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
DiagCom.Request RequestVariable;
/// Flow
RequestVariable = DiagCom.GetRequest(DiagServiceTerm);
Description
The GetRequest term returns the Request belonging to a diagnostic service. It accepts a diagnostic service handle.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Request | Request of diagnostic services. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DiagService | DiagService | Term | - | [1] | The term shall yield a handle to the DiagService that the Request belongs to. |
Examples
/// Local Declarations
DiagCom.DiagService DiagService1;
DiagCom.ComChannel ComChannel1;
DiagCom.Request Request1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu");
Request1 = DiagCom.GetRequest(DiagService1);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetParameterByPath
GetPdu