Extensions.DiagDataBrowsingPlus.GetDbSubComponentDbDiagTroubleCodes

From emotive
Revision as of 02:14, 21 September 2018 by Hb (talk | contribs) (→‎Classification)
Jump to navigation Jump to search

Classification

Name GetDbSubComponentDbDiagTroubleCodes
Short Description Gets the DTCs of the DbSubComponent
Class Term
Extension OTX DiagDataBrowsingPlus extension
Group DbSubComponent related terms
Exceptions NONE
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm = DiagDataBrowsingPlus.GetDbSubComponentDbDiagTroubleCodes(DbSubComponentTerm);

Description

GetDbSubComponentDbDiagTroubleCodes returns a list of DbDiagTroubleCode for the DbSubComponent which is available in ODX. If no elements are available in database, then an empty list will be delivered.

Icons Note.png NOTE — The appropriate MVCI system operation is MCDDbSubComponent::getDbDiagTroubleCodeConnectors[n]::getDbDiagTroubleCode

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 DbDiagTroubleCode for the DbSubComponent.

Properties

Name Data Type Class Default Cardinality Description
subComponent DbSubComponent Term - [1..1] The element addresses the DbSubComponent which DTCs shall be returned.

OTL Examples

DiagDataBrowsingPlus.DbComChannel DbComChannel;
List<DiagDataBrowsingPlus.DbSubComponent> List_DbSubComponent;
List<DbDiagTroubleCode> List_DbDiagTroubleCode;

/// Flow

DbComChannel = DiagDataBrowsingPlus.GetDbComChannel(NULL, "BCM_HINTEN");
List_DbSubComponent = DiagDataBrowsingPlus.GetDbComChannelDbSubComponents(DbComChannel);
List_DbDiagTroubleCode = DiagDataBrowsingPlus.GetDbSubComponentDbDiagTroubleCodes(List_DbSubComponent[0]);

See also

GetDbComChannel
GetComChannelDbComChannel
GetDbComChannelDbSubComponents