Extensions.DiagDataBrowsingPlus.GetDbResponseDbSpecialDataGroups
Jump to navigation
Jump to search
Contents
Classification
Name | GetDbResponseDbSpecialDataGroups |
Short Description | Gets the special data groups of the DbResponse |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbSpecialDataGroup related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ListTerm DiagDataBrowsingPlus.GetDbResponseDbSpecialDataGroups(DbResponseTerm dbResponse);
Description
GetDbResponseDbSpecialDataGroups returns a list of DbSpecialDataGroup (SDG) of the DbResponse. An empty list can be returned if no SDG are available.
The appropriate MVCI system operation is MCDDbResponse::getDbSDGs
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
List | Returns a list of DbSpecialDataGroup (SDG) of the DbResponse. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
DbResponse | DbResponse | Term | - | [1..1] | The element addresses the DbResponse which SDGs shall be returned. |
OTL Examples
/// Local Declarations
DiagCom.Result Result;
DiagCom.Response Response;
DiagDataBrowsingPlus.DbResponse DbResponse;
List<DiagDataBrowsingPlus.DbSpecialDataGroup> List_DbSpecialDataGroup;
/// Flow
[#MetaData(RequestPdu), <#Data>22 01 00</#Data>]
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDataByIdentActuaTestStatu"), {}, {}, Result, NULL, false, false);
Response = DiagCom.GetFirstResponse(Result);
DbResponse = DiagDataBrowsingPlus.GetResponseDbResponse(Response);
List_DbSpecialDataGroup = DiagDataBrowsingPlus.GetDbResponseDbSpecialDataGroups(DbResponse);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetResponseDbResponse