Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbRequestDefaultPDU"

From emotive
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;">
ByteFieldTerm = DiagDataBrowsingPlus.GetDbRequestDefaultPDU(DbRequestTerm);
+
/// Local Declarations
 +
ByteField ByteFieldVariable;
 +
/// Flow
 +
ByteFieldVariable = DiagDataBrowsingPlus.GetDbRequestDefaultPDU(DbRequestTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 20: Line 23:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie2| dbRequest| [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] | [[Term]] | - | [1..1] |The element addresses the '''DbRequest''' which default PDU shall be returned.}}
+
{{TableRowPropertie2| DbRequest| [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] | [[Term]] | - | [1..1] |The element addresses the '''DbRequest''' which default PDU 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;">
 +
/// Local Declarations
 +
 
DiagCom.DiagService DiagService;
 
DiagCom.DiagService DiagService;
 
DiagDataBrowsingPlus.DbDiagService DbDiagService;
 
DiagDataBrowsingPlus.DbDiagService DbDiagService;

Revision as of 07:44, 24 October 2018

Classification

Name GetDbRequestDefaultPDU
Short Description Gets the default PDU of the DbRequest
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbRequest related terms
Exceptions NotSupportedException
Checker Rules -
Standard Compliant Yes

OTL Syntax

/// Local Declarations
ByteField ByteFieldVariable;
/// Flow
ByteFieldVariable = DiagDataBrowsingPlus.GetDbRequestDefaultPDU(DbRequestTerm);

Description

GetDbRequestDefaultPDU returns the default PDU of the DbRequest as a ByteField.

If the communication primitive does not support the PDU information, the NotSupportedException exception will be thrown.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbRequest::getDefaultPDU

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
ByteField Returns the default PDU of the DbRequest.

Properties

Name Data Type Class Default Cardinality Description
DbRequest DbRequest Term - [1..1] The element addresses the DbRequest which default PDU shall be returned.

OTL Examples

/// Local Declarations

DiagCom.DiagService DiagService;
DiagDataBrowsingPlus.DbDiagService DbDiagService;
DiagDataBrowsingPlus.DbRequest DbRequest;
ByteField MyByteField;

/// Flow

DiagService = DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu");
DbDiagService = DiagDataBrowsingPlus.GetDiagServiceDbDiagService(DiagService);
DbRequest = DiagDataBrowsingPlus.GetDbDiagServiceDbRequest(DbDiagService);
MyByteField = DiagDataBrowsingPlus.GetDbRequestDefaultPDU(DbRequest);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
GetDiagServiceDbDiagService
GetDbDiagServiceDbRequest
GetRequest