Extensions.DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataElements

From emotive
Jump to navigation Jump to search

Classification

Name GetDbSpecialDataGroupSpecialDataElements
Short Description Gets the spacial data elements of the DbSpecialDataGroup
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbSpecialDataGroup related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataElements(DbSpecialDataGroupTerm specialDataGroup);

Description

GetDbSpecialDataGroupSpecialDataElements returns a list of DbSpecialDataElement (SD) of the DbSpecialDataGroup. An empty list can be returned if no SD are available.

Icons Note.png The appropriate MVCI system operation is MCDDbSpecialDataGroup::getItemByIndex

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
List Returns a list of DbSpecialDataElement (SD) of the DbSpecialDataGroup.

Properties

Name Data Type Class Default Cardinality Description
SpecialDataGroup DbSpecialDataGroup Term - [1..1] The element addresses the DbSpecialDataGroup (MCDDbSpecialDataGroup) which spacial data elements shall be returned.

OTL Examples

/// Local Declarations

DiagCom.Result Result;
DiagCom.Response Response;
DiagCom.Parameter Parameter;
DiagDataBrowsingPlus.DbDiagTroubleCode DbDiagTroubleCode;
List<DiagDataBrowsingPlus.DbSpecialDataGroup> List_DbSpecialDataGroup;
List<DiagDataBrowsingPlus.DbSpecialDataElement> List_DbSpecialDataElement;

/// Flow

[#MetaData(RequestPdu), <#Data>19 02 00</#Data>]
DiagCom.ExecuteDiagService(DiagCom.CreateDiagServiceByName(DiagCom.GetComChannel("LL_GatewUDS", "", false), "DiagnServi_ReadDTCInforReporDTCByStatuMask"), {}, {}, Result, NULL, false, false);
Response = DiagCom.GetFirstResponse(Result);
Parameter = DiagCom.GetParameterByPath(Response, {"Param_DTCAndStatuRecor", "STRUC_DTCAndStatuRecor", "Param_DTCUDS"});
DbDiagTroubleCode = DiagDataBrowsingPlus.GetParameterDbDiagTroubleCode(Parameter);
List_DbSpecialDataGroup = DiagDataBrowsingPlus.GetDbDiagTroubleCodeSpecialDataGroups(DbDiagTroubleCode);
List_DbSpecialDataElement = DiagDataBrowsingPlus.GetDbSpecialDataGroupSpecialDataElements(List_DbSpecialDataGroup[0]);

See also

GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetParameterByPath
GetParameterDbDiagTroubleCode
GetDbDiagServiceDbSpecialDataGroups
GetDbResponseDbSpecialDataGroups
GetDbRequestDbSpecialDataGroups
GetDbDiagTroubleCodeSpecialDataGroups