Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbRequestPDUMaxLength"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetDbRequestPDUMaxLength'''}}Category:DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetDbRequestPDUMaxLength| UPDATING... | ...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetDbRequestPDUMaxLength'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''GetDbRequestPDUMaxLength'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDbRequestPDUMaxLength| | + | {{ClassificationActivity | GetDbRequestPDUMaxLength| Gets the maximum PDU length of the [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbRequest related terms]] | [[Extensions.DiagDataBrowsingPlus.NotSupportedException|NotSupportedException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | IntegerTerm DiagDataBrowsingPlus.GetDbRequestPDUMaxLength(DbRequestTerm dbRequest); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== Description == | == Description == | ||
− | + | '''GetDbRequestPDUMaxLength''' returns the maximum PDU length of the [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]]. | |
− | + | ||
− | {{ | + | If the communication primitive does not support the PDU information, the [[Extensions.DiagDataBrowsingPlus.NotSupportedException|NotSupportedException]] exception will be thrown. |
− | {{ | + | |
− | + | {{Note|The appropriate MVCI system operation is MCDDbRequest::getPDUMaxLength}} | |
+ | |||
+ | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | Returns the maximum PDU length of the [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]].}} | ||
== Properties == | == Properties == | ||
− | |||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{TableRowPropertie2| DbRequest| [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] | [[Term]] | - | [1..1] |The element addresses the '''DbRequest''' which maximum PDU length shall be returned.}} |
|} | |} | ||
− | |||
== OTL Examples == | == OTL Examples == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | DiagCom. | + | /// Local Declarations |
+ | |||
+ | DiagCom.DiagService DiagService; | ||
+ | DiagDataBrowsingPlus.DbDiagService DbDiagService; | ||
+ | DiagDataBrowsingPlus.DbRequest DbRequest; | ||
+ | Integer MyInteger; | ||
− | + | /// Flow | |
− | + | DiagService = DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu"); | |
− | + | DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService); | |
− | + | DbRequest = DiagDataBrowsingPlus.GetDbDiagServiceDbRequest(DbDiagService); | |
+ | MyInteger = DiagDataBrowsingPlus.GetDbRequestPDUMaxLength(DbRequest); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == | ||
− | + | [[Extensions.DiagCom.GetComChannel|GetComChannel]] <br/> | |
+ | [[Extensions.DiagCom.CreateDiagServiceByName|CreateDiagServiceByName]] <br/> | ||
+ | [[Extensions.DiagCom.CreateDiagServiceBySemantic|CreateDiagServiceBySemantic]] <br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetDiagServiceDbDiagService|GetDiagServiceDbDiagService]] <br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetDbDiagServiceDbRequest|GetDbDiagServiceDbRequest]] <br/> | ||
+ | [[Extensions.DiagCom.GetRequest|GetRequest]] |
Latest revision as of 08:52, 2 November 2018
Contents
Classification
Name | GetDbRequestPDUMaxLength |
Short Description | Gets the maximum PDU length of the DbRequest |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbRequest related terms |
Exceptions | NotSupportedException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
IntegerTerm DiagDataBrowsingPlus.GetDbRequestPDUMaxLength(DbRequestTerm dbRequest);
Description
GetDbRequestPDUMaxLength returns the maximum PDU length of the DbRequest.
If the communication primitive does not support the PDU information, the NotSupportedException exception will be thrown.
![]()
The appropriate MVCI system operation is MCDDbRequest::getPDUMaxLength
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 | Returns the maximum PDU length of the DbRequest. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DbRequest | DbRequest | Term | - | [1..1] | The element addresses the DbRequest which maximum PDU length shall be returned. |
OTL Examples
/// Local Declarations
DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
DiagDataBrowsingPlus.DbRequest DbRequest;
Integer MyInteger;
/// Flow
DiagService = DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
DbRequest = DiagDataBrowsingPlus.GetDbDiagServiceDbRequest(DbDiagService);
MyInteger = DiagDataBrowsingPlus.GetDbRequestPDUMaxLength(DbRequest);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetDbDiagServiceDbRequest
GetRequest