Difference between revisions of "Extensions.Flash.GetUncompressedSize"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
[[Category:Flash]]
+
{{DISPLAYTITLE:  '''GetUncompressedSize'''}}[[Category:Flash]]
 
== Classification ==
 
== Classification ==
{{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]] | [[Extensions.Flash|OTX Flash extension]] | [[Flash block segment related terms]] | [[OutOfBoundsException]] | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
Line 11: Line 11:
 
The '''GetUncompressedSize''' returns the number of bytes that contain the uncompressed data in a segment.
 
The '''GetUncompressedSize''' returns the number of bytes that contain the uncompressed data in a segment.
  
{{TermReturnValue| [[Integer]] | The number of bytes of the uncompressed data in a segment.}}
+
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | The number of bytes of the uncompressed data in a segment.}}
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| FlashSession | [[FlashSession]] | [[Term]] | - | [1] | This element represents the FlashSession in which the block containing the segment resides.}}
+
{{TableRowPropertie1| FlashSession | [[Extensions.Flash.FlashSession|FlashSession]] | [[Term]] | - | [1] | This element represents the FlashSession in which the block containing the segment resides.}}
{{TableRowPropertie2| Block | [[Integer]] | [[Term]] | - | [1] | This element represents the block in which the segment resides.}}
+
{{TableRowPropertie2| Block | [[Core.DataTypes.SimpleDataType.Integer|Integer]] | [[Term]] | - | [1] | This element represents the block in which the segment resides.}}
{{TableRowPropertie1| Segment | [[Integer]] | [[Term]] | - | [1] | This element provides the segment number.}}
+
{{TableRowPropertie1| Segment | [Core.DataTypes.SimpleDataType.Integer|[Integer]] | [[Term]] | - | [1] | This element provides the segment number.}}
 
|}
 
|}
  
Line 35: Line 35:
  
 
== See also ==
 
== See also ==
[[GetStartAddress]] <br/>
+
[[Extensions.Flash.GetStartAddress|GetStartAddress]] <br/>
[[GetCompressedSize]]
+
[[Extensions.Flash.GetCompressedSize|GetCompressedSize]]

Revision as of 08:01, 15 February 2016

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.

Icons Note.png 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 [Core.DataTypes.SimpleDataType.Integer [Integer]] Term - [1]

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);

See also

GetStartAddress
GetCompressedSize