Extensions.Flash.GetNumberOfBlocks

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

Classification

Name GetNumberOfBlocks
Short Description Specifies the number of blocks in a flash session
Class Term
Extension OTX Flash extension
Group Flash session related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

IntegerTerm = Flash.GetNumberOfBlocks(FlashSessionTerm);

Description

The GetNumberOfBlocks term specifies the number of blocks in a flash session. If no blocks are present, the return value is zero, otherwise a positive number will be.

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 blocks in a flash session.

Properties

Name Data Type Class Default Cardinality Description
Session FlashSession Term - [1] This element represent the FlashSession to be used.

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.GetNumberOfBlocks(FlashSession1);

See also

GetListOfValidFlashSessions
GetFlashSession
GetFlashKey
GetSessionPriority
IsDownloadSession
GetSessionID