Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbFaultMemoryDiagTroubleCodeByTroubleCode"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| faultMemory | [[Extensions.DiagDataBrowsingPlus.DbFaultMemory|DbFaultMemory]] | [[Term]] | - | [1..1] |The element addresses the | + | {{TableRowPropertie1| faultMemory | [[Extensions.DiagDataBrowsingPlus.DbFaultMemory|DbFaultMemory]] | [[Term]] | - | [1..1] |The element addresses the '''DbFaultMemory''' which [[Extensions.DiagDataBrowsingPlus.DbDiagTroubleCode|DbDiagTroubleCode]] shall be returned.}} |
{{TableRowPropertie2| troubleCode | [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Term]] | - | [1..1] |The element addresses the trouble code from which the [[Extensions.DiagDataBrowsingPlus.DbDiagTroubleCode|DbDiagTroubleCode]] object shall be returned.}} | {{TableRowPropertie2| troubleCode | [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Term]] | - | [1..1] |The element addresses the trouble code from which the [[Extensions.DiagDataBrowsingPlus.DbDiagTroubleCode|DbDiagTroubleCode]] object shall be returned.}} | ||
|} | |} |
Revision as of 03:52, 21 September 2018
Contents
Classification
Name | GetDbFaultMemoryDiagTroubleCodeByTroubleCode |
Short Description | Gets the fault memories of the ComChannel |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbFaultMemory related terms |
Exceptions | InvalidTypeException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DbDiagTroubleCodeTerm = DiagDataBrowsingPlus.GetDbFaultMemoryDiagTroubleCodeByTroubleCode(DbFaultMemoryTerm, IntegerTerm);
Description
GetDbFaultMemoryDiagTroubleCodeByTroubleCode returns the DbDiagTroubleCode (MCDDbDiagTroubleCode) object which matches given trouble code.
![]()
NOTE — The appropriate MVCI system operation is MCDDbFaultMemory::getDbDiagTroubleCodeByTroubleCode
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
DbDiagTroubleCode | Returns the DbDiagTroubleCode (MCDDbDiagTroubleCode) object which matches given trouble code. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
faultMemory | DbFaultMemory | Term | - | [1..1] | The element addresses the DbFaultMemory which DbDiagTroubleCode shall be returned. |
troubleCode | Integer | Term | - | [1..1] | The element addresses the trouble code from which the DbDiagTroubleCode object shall be returned. |
OTL Examples
DiagDataBrowsingPlus.DbComChannel DbComChannel;
List<DiagDataBrowsingPlus.DbFaultMemory> List_DbFaultMemory;
DiagDataBrowsingPlus.DbDiagTroubleCode DbDiagTroubleCode;
/// Flow
DbComChannel = DiagDataBrowsingPlus.GetDbComChannel("", "LL_GatewUDS");
List_DbFaultMemory = DiagDataBrowsingPlus.GetDbComChannelDbFaultMemories(DbComChannel);
DbDiagTroubleCode = DiagDataBrowsingPlus.GetDbFaultMemoryDiagTroubleCodeByTroubleCode(List_DbFaultMemory[0], 66051);
See also
GetDbComChannel
GetComChannelDbComChannel
GetDbComChannelDbFaultMemories
GetDbSubComponentDbFaultMemories