Extensions.DiagDataBrowsingPlus.GetDbSpecialDataElementTextId
Jump to navigation
Jump to search
Contents
Classification
Name | GetDbSpecialDataElementTextId |
Short Description | Gets the text ID of the DbSpecialDataElement |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbSpecialDataElement related terms |
Exceptions | NONE |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm DiagDataBrowsingPlus.GetDbSpecialDataElementTextId(DbSpecialDataElementTerm specialDataElement);
Description
GetDbSpecialDataElementTextId returns the text ID (TextIdentifier) of the DbSpecialDataElement.
The appropriate MVCI system operation is MCDDbSpecialDataElement::getTextID
Return Value
The Term returns the value, see table below.
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | Returns the text ID (TextIdentifier) of the DbSpecialDataElement. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
SpecialDataElement | DbSpecialDataElement | Term | - | [1..1] | The element addresses the DbSpecialDataElement (MCDDbSpecialDataElement) which text ID 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;
String MyString;
/// 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]);
MyString = DiagDataBrowsingPlus.GetDbSpecialDataElementTextId(List_DbSpecialDataElement[0]);
See also
GetComChannel
CreateDiagServiceByName
CreateDiagServiceBySemantic
ExecuteDiagService
GetFirstResponse
GetParameterByPath
GetParameterDbDiagTroubleCode
GetDbDiagServiceDbSpecialDataGroups
GetDbDiagTroubleCodeSpecialDataGroups
GetDbSpecialDataGroupSpecialDataElements