Difference between revisions of "Extensions.DiagDataBrowsingPlus.GetDbFaultMemoryDiagTroubleCodeByTroubleCode"
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:OTX '''GetDbFaultMemoryDiagTroubleCodeByTroubleCode'''}}Category:DiagDataBrowsingPlus == Classification == {{ClassificationActivity | GetDbFaultMemoryDiagTr...") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:OTX '''GetDbFaultMemoryDiagTroubleCodeByTroubleCode'''}}[[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:OTX '''GetDbFaultMemoryDiagTroubleCodeByTroubleCode'''}}[[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetDbFaultMemoryDiagTroubleCodeByTroubleCode | | + | {{ClassificationActivity | GetDbFaultMemoryDiagTroubleCodeByTroubleCode | Gets the DbDiagTroubleCode (MCDDbDiagTroubleCode) object | [[Term]] | [[Extensions.DiagDataBrowsingPlus|OTX DiagDataBrowsingPlus extension]] | [[Extensions.DiagDataBrowsingPlus#Terms|DbFaultMemory related terms]] | [[Extensions.DiagDataBrowsingPlus.InvalidTypeException|InvalidTypeException]] | - }} |
== OTL Syntax == | == OTL Syntax == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | DbDiagTroubleCodeTerm DiagDataBrowsingPlus.GetDbFaultMemoryDiagTroubleCodeByTroubleCode(DbFaultMemoryTerm faultMemory, IntegerTerm troubleCode); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== Description == | == Description == | ||
− | + | '''GetDbFaultMemoryDiagTroubleCodeByTroubleCode''' returns the [[Extensions.DiagDataBrowsingPlus.DbDiagTroubleCode|DbDiagTroubleCode]] (MCDDbDiagTroubleCode) object which matches given trouble code. | |
− | + | ||
− | {{ | + | {{Note|The appropriate MVCI system operation is MCDDbFaultMemory::getDbDiagTroubleCodeByTroubleCode}} |
− | {{ | + | |
− | + | {{TermReturnValue| [[Extensions.DiagDataBrowsingPlus.DbDiagTroubleCode|DbDiagTroubleCode]] | Returns the [[Extensions.DiagDataBrowsingPlus.DbDiagTroubleCode|DbDiagTroubleCode]] (MCDDbDiagTroubleCode) object which matches given trouble code.}} | |
== Properties == | == Properties == | ||
− | |||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1| | + | {{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.}} | ||
|} | |} | ||
− | |||
== OTL Examples == | == OTL Examples == | ||
− | |||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | /// Local Declarations | |
+ | |||
+ | 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); | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
== See also == | == See also == | ||
− | + | [[Extensions.DiagDataBrowsingPlus.GetDbComChannel|GetDbComChannel]] <br/> | |
+ | [[Extensions.DiagDataBrowsingPlus.GetComChannelDbComChannel|GetComChannelDbComChannel]]<br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetDbComChannelDbFaultMemories|GetDbComChannelDbFaultMemories]]<br/> | ||
+ | [[Extensions.DiagDataBrowsingPlus.GetDbSubComponentDbFaultMemories|GetDbSubComponentDbFaultMemories]] |
Latest revision as of 06:16, 25 September 2019
Contents
Classification
Name | GetDbFaultMemoryDiagTroubleCodeByTroubleCode |
Short Description | Gets the DbDiagTroubleCode (MCDDbDiagTroubleCode) object |
Class | Term |
Extension | OTX DiagDataBrowsingPlus extension |
Group | DbFaultMemory related terms |
Exceptions | InvalidTypeException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
DbDiagTroubleCodeTerm DiagDataBrowsingPlus.GetDbFaultMemoryDiagTroubleCodeByTroubleCode(DbFaultMemoryTerm faultMemory, IntegerTerm troubleCode);
Description
GetDbFaultMemoryDiagTroubleCodeByTroubleCode returns the DbDiagTroubleCode (MCDDbDiagTroubleCode) object which matches given trouble code.
![]()
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
/// Local Declarations
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