Difference between revisions of "Extensions.Flash.GetStartAddress"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE: '''GetStartAddress '''}}[[Category:Flash]] | {{DISPLAYTITLE: '''GetStartAddress '''}}[[Category:Flash]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetStartAddress | Returns the start address of a segment | [[Term]] | [[Extensions.Flash|OTX Flash extension]] | [[Flash block segment related terms]] | [[OutOfBoundsException]] | - }} | + | {{ClassificationActivity | GetStartAddress | Returns the start address of a segment | [[Term]] | [[Extensions.Flash|OTX Flash extension]] | [[Flash block segment related terms]] | [[Core.Actions.Throw.Exception.OutOfBoundsException|OutOfBoundsException]] | - }} |
== OTL Syntax == | == OTL Syntax == |
Revision as of 07:30, 16 February 2016
Contents
Classification
Name | GetStartAddress |
Short Description | Returns the start address of a segment |
Class | Term |
Extension | OTX Flash extension |
Group | Flash block segment related terms |
Exceptions | OutOfBoundsException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
IntegerTerm = Flash.GetStartAddress(FlashSessionTerm, IntegerTerm, IntegerTerm);
Description
The GetStartAddress term return the start address of a segment.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Integer | The start address of a segment. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
FlashSession | FlashSession | Term | - | [1] | This element represents the FlashSession in which the block containing the segment resides. |
Block | Integer | Term | - | [1] | This element represents the block in which the segment resides. |
Segment | Integer | Term | - | [1] | This element provides the segment number. |
OTL Examples
DiagCom.ComChannel ComChannel1;
List<String> List1;
Flash.FlashSession FlashSession1;
Integer Integer1;
ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER);
FlashSession1 = Flash.GetFlashSession(List1[0]);
Integer1 = Flash.GetStartAddress(FlashSession1, 0, 0);