Extensions.DiagDataBrowsingPlus.GetDbRequestPDUMaxLength

From emotive
Jump to navigation Jump to search

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.

Icons Note.png The appropriate MVCI system operation is MCDDbRequest::getPDUMaxLength

Return Value

The Term returns the value, see table below.

Icons Note.png 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