Difference between revisions of "Extensions.Flash.GetUncompressedSize"
Jump to navigation
Jump to search
(Created page with "Category:Flash == Classification == {{ClassificationActivity | GetUncompressedSize | Indicates the number of bytes of uncompressed data back into a segment | Term | ...") |
|||
| Line 3: | Line 3: | ||
{{ClassificationActivity | GetUncompressedSize | Indicates the number of bytes of uncompressed data back into a segment | [[Term]] | [[Flash|OTX Flash extension]] | [[Flash block segment related terms]] | [[OutOfBoundsException]] | - }} | {{ClassificationActivity | GetUncompressedSize | Indicates the number of bytes of uncompressed data back into a segment | [[Term]] | [[Flash|OTX Flash extension]] | [[Flash block segment related terms]] | [[OutOfBoundsException]] | - }} | ||
| − | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| − | + | IntegerTerm = Flash.GetUncompressedSize(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;"> | ||
| − | Integer | + | 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.GetUncompressedSize(FlashSession1, 0, 0); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 11:06, 6 February 2015
Contents
Classification
| Name | GetUncompressedSize |
| Short Description | Indicates the number of bytes of uncompressed data back into 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.GetUncompressedSize(FlashSessionTerm, IntegerTerm, IntegerTerm);Description
The GetUncompressedSize returns the number of bytes that contain the uncompressed data in 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 number of bytes of the uncompressed data in 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.GetUncompressedSize(FlashSession1, 0, 0);