Difference between revisions of "Extensions.Flash.GetNumberOfOwnIdents"

From emotive
Jump to navigation Jump to search
Line 5: Line 5:
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
IntegerTerm = Flash.GetNumberOfOwnIdents(FlashSessionTerm, NumericTerm);
+
/// Local Declarations
 +
String IntegerVariable;
 +
/// Flow
 +
IntegerVariable = Flash.GetNumberOfOwnIdents(FlashSessionTerm, NumericTerm);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 22: Line 25:
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
/// Local Declarations
 +
 
DiagCom.ComChannel ComChannel1;
 
DiagCom.ComChannel ComChannel1;
 
Flash.FlashSession FlashSession1;
 
Flash.FlashSession FlashSession1;

Revision as of 04:05, 25 October 2018

Classification

Name GetNumberOfOwnIdents
Short Description Gets the number of identifications of a block
Class Term
Extension OTX Flash extension
Group Flash block related terms
Exceptions OutOfBoundsException
Checker Rules -
Standard Compliant Yes

OTL Syntax

/// Local Declarations
String IntegerVariable;
/// Flow
IntegerVariable = Flash.GetNumberOfOwnIdents(FlashSessionTerm, NumericTerm);

Description

The GetNumberOfOwnIdents term shall return the number of required and to-be-fulfilled identifications of a 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
Integer The number of identifications of a block.

Properties

Name Data Type Class Default Cardinality Description
Session FlashSession Term - [1] This element represents the FlashSession in which the block of interest resides.
Block Numeric Term - [1] This element provides the number of the block from which the number of identifications shall be retrieved. Float values shall be truncated.

OTL Examples

/// Local Declarations

DiagCom.ComChannel ComChannel1;
Flash.FlashSession FlashSession1;
List<String> List1;
Integer Integer1;

/// Flow

ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER", "SCHEINWERFER_1", false);
List1 = Flash.GetListOfValidFlashSessions(ComChannel1, @Audience:SUPPLIER, @Directions:DOWNLOAD);
FlashSession1 = Flash.GetFlashSession(List1[2]);
Integer1 = Flash.GetNumberOfOwnIdents(FlashSession1, 1);

See also

GetNumberOfSegments
GetNumberOfSecurities
GetLogicalBlockID
GetCompressionEncryption
GetType
BlockIsValidForAudience
GetListOfValidFlashSessions
GetFlashSession
GetComChannel