Extensions.Flash.GetCompressedSize

From emotive
Revision as of 11:05, 6 February 2015 by Tl (talk | contribs)
Jump to navigation Jump to search

Classification

Name GetCompressedSize
Short Description Indicates the number of bytes of the compressed data in 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.GetCompressedSize(FlashSessionTerm, IntegerTerm, IntegerTerm);

Description

The GetCompressedSize returns the number of bytes that contain the compressed 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 compressed 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.GetCompressedSize(FlashSession1, 1, 1);

See also

GetStartAddress
GetUncompressedSize