Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbRequestDefaultPDU"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
'''GetDbRequestDefaultPDU''' returns the default PDU of the [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] as a [[Core.DataTypes.ComplexDataType.ByteField|ByteField]]. | '''GetDbRequestDefaultPDU''' returns the default PDU of the [[Extensions.DiagDataBrowsingPlus.DbRequest|DbRequest]] as a [[Core.DataTypes.ComplexDataType.ByteField|ByteField]]. | ||
− | + | 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::getDefaultPDU}} | {{Note|NOTE — The appropriate MVCI system operation is MCDDbRequest::getDefaultPDU}} |
Revision as of 07:11, 14 September 2018
Contents
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
ByteFieldTerm = 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.
![]()
NOTE — The appropriate MVCI system operation is MCDDbRequest::getDefaultPDU
Return Value
The Term returns the value, see table below.
![]()
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
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