Difference between revisions of "Extensions.DiagCom.GetRequest"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetRequest'''}}[[Category:DiagCom]] | {{DISPLAYTITLE:OTX '''GetRequest'''}}[[Category:DiagCom]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetRequest | Request of Diagnostic Services | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Request related terms]] | - | - }} | + | {{ClassificationActivity | GetRequest | Request of the Diagnostic Services | [[Term]] | [[Extensions.DiagCom|OTX DiagCom extension]] | [[Extensions.DiagCom#Terms|Request related terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
Line 9: | Line 9: | ||
== Description == | == Description == | ||
− | The '''GetRequest''' term returns the | + | The '''GetRequest''' term returns the Request belonging to a diagnostic service. It accepts a diagnostic service handle. |
{{TermReturnValue| [[Extensions.DiagCom.Request|Request]] | Request of diagnostic services.}} | {{TermReturnValue| [[Extensions.DiagCom.Request|Request]] | Request of diagnostic services.}} | ||
Line 16: | Line 16: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| DiagService | [[ | + | {{TableRowPropertie1| DiagService | [[Extensions.DiagCom.DiagService|DiagService]] | [[Term]] | - | [1] | The term shall yield a handle to the DiagService that the Request belongs to.}} |
|} | |} | ||
== Examples == | == Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | |||
DiagCom.DiagService DiagService1; | DiagCom.DiagService DiagService1; | ||
+ | DiagCom.ComChannel ComChannel1; | ||
DiagCom.Request Request1; | DiagCom.Request Request1; | ||
− | + | /// Flow | |
− | DiagService1 = DiagCom.CreateDiagServiceByName( | + | |
− | + | ComChannel1 = DiagCom.GetComChannel("LL_AllEmissRelatUDSSyste", "", false); | |
+ | DiagService1 = DiagCom.CreateDiagServiceByName(ComChannel1, "DiagnServi_ReadDataByIdentActuaTestStatu"); | ||
Request1 = DiagCom.GetRequest(DiagService1); | Request1 = DiagCom.GetRequest(DiagService1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
+ | [[Extensions.DiagCom.GetComChannel|GetComChannel]] | ||
+ | [[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] | ||
+ | [[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] | ||
+ | [[Extensions.DiagCom.GetParameterByPath|GetParameterByPath]] | ||
[[Extensions.DiagCom.GetPdu|GetPdu]] | [[Extensions.DiagCom.GetPdu|GetPdu]] |
Revision as of 07:03, 12 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
RequestTerm = 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
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