Extensions.Flash.GetType

From emotive
Revision as of 07:00, 15 February 2016 by Hb (talk | contribs) (Hb moved page GetType to Extensions.Flash.GetType: #3153)
Jump to navigation Jump to search

Classification

Name GetType
Short Description Specifies the type of the block
Class Term
Extension OTX Flash extension
Group Flash block related terms
Exceptions OutOfBoundsException
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm = Flash.GetType(FlashSessionTerm, IntegerTerm);

Description

The GetType term returns the type of the block.

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
String The type of the block.

Properties

Name Data Type Class Default Cardinality Description
Session FlashSession Term - [1] The Flash session in which the block is located.
Block Integer Term - [1] The block number.

OTL Examples

DiagCom.ComChannel ComChannel1;
List<String> List1;
Flash.FlashSession FlashSession1;
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.GetType(FlashSession1, 0);

See also

GetNumberOfSegments
GetNumberOfOwnIdents
GetNumberOfSecurities
GetLogicalBlockID
GetCompressionEncryption
BlockIsValidForAudience