Difference between revisions of "Extensions.Flash.GetOwnIdentFromEcu"
Jump to navigation
Jump to search
(Created page with "Category:Flash == Classification == {{ClassificationActivity | GetOwnIdentFromEcu | Return an identification string which shall be read from an ECU | Term | Flash|OT...") |
|||
Line 3: | Line 3: | ||
{{ClassificationActivity | GetOwnIdentFromEcu | Return an identification string which shall be read from an ECU | [[Term]] | [[Flash|OTX Flash extension]] | [[Own ident related terms]] | [[OutOfBoundsException]] | - }} | {{ClassificationActivity | GetOwnIdentFromEcu | Return an identification string which shall be read from an ECU | [[Term]] | [[Flash|OTX Flash extension]] | [[Own ident related terms]] | [[OutOfBoundsException]] | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | StringTerm = Flash.GetOwnIdentFromEcu(FlashSessionTerm, IntegerTerm, IntegerTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 21: | Line 21: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | String | + | DiagCom.ComChannel ComChannel1; |
+ | List<String> List1; | ||
+ | Flash.FlashSession FlashSession1; | ||
+ | Integer Integer1; | ||
+ | String String1; | ||
+ | |||
+ | ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false); | ||
+ | List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER); | ||
+ | FlashSession1 = Flash.GetFlashSession(List1[0]); | ||
+ | String1 = Flash.GetOwnIdent(FlashSession1, 0, 0); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== See also == | == See also == | ||
[[GetOwnIdent]] | [[GetOwnIdent]] |
Revision as of 11:20, 6 February 2015
Contents
Classification
Name | GetOwnIdentFromEcu |
Short Description | Return an identification string which shall be read from an ECU |
Class | Term |
Extension | OTX Flash extension |
Group | Own ident related terms |
Exceptions | OutOfBoundsException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm = Flash.GetOwnIdentFromEcu(FlashSessionTerm, IntegerTerm, IntegerTerm);
Description
The GetOwnIdentFromEcu term return an identification string which shall be read from an ECU. The environment shall store the information to access this string.
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 | The identification string which shall be read from an ECU. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
FlashSession | FlashSession | Term | - | [1] | This element represents the FlashSession in which the block resides. |
Block | Integer | Term | - | [1] | This element represents the block number. |
Number | Integer | Term | - | [1] | This element represents the own identification number. |
OTL Examples
DiagCom.ComChannel ComChannel1;
List<String> List1;
Flash.FlashSession FlashSession1;
Integer Integer1;
String String1;
ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER);
FlashSession1 = Flash.GetFlashSession(List1[0]);
String1 = Flash.GetOwnIdent(FlashSession1, 0, 0);