Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbRequestPDUMinLength"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
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;"> | ||
− | + | IntegerTerm DiagDataBrowsingPlus.GetDbRequestPDUMinLength(DbRequestTerm dbRequest); | |
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 16: | Line 13: | ||
If the communication primitive does not support the PDU information, the [[Extensions.DiagDataBrowsingPlus.NotSupportedException|NotSupportedException]] exception will be thrown. | If the communication primitive does not support the PDU information, the [[Extensions.DiagDataBrowsingPlus.NotSupportedException|NotSupportedException]] exception will be thrown. | ||
− | {{Note| | + | {{Note|The appropriate MVCI system operation is MCDDbRequest::getPDUMinLength}} |
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | Returns the minimum PDU length of the [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]].}} | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | Returns the minimum PDU length of the [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]].}} |
Latest revision as of 08:51, 2 November 2018
Contents
Classification
Name | GetDbRequestPDUMinLength |
Short Description | Gets the minimum 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.GetDbRequestPDUMinLength(DbRequestTerm dbRequest);
Description
GetDbRequestPDUMinLength returns the minimum 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::getPDUMinLength
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 minimum PDU length of the DbRequest. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DbRequest | DbRequest | Term | - | [1..1] | The element addresses the DbRequest which minimum 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_RequeDownl");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
DbRequest = DiagDataBrowsingPlus.GetDbDiagServiceDbRequest(DbDiagService);
MyInteger = DiagDataBrowsingPlus.GetDbRequestPDUMinLength(DbRequest);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetDbDiagServiceDbRequest
GetRequest