Difference between revisions of "Extensions.Flash.GetNumberOfOwnIdents"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{ClassificationActivity | GetNumberOfOwnIdents | Returns the number of identifications of a block | [[Term]] | [[Flash|OTX Flash extension]] | [[Flash block related terms]] | [[OutOfBoundsException]] | - }} | {{ClassificationActivity | GetNumberOfOwnIdents | Returns the number of identifications of a block | [[Term]] | [[Flash|OTX Flash extension]] | [[Flash block related terms]] | [[OutOfBoundsException]] | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | IntegerTerm = Flash.GetNumberOfOwnIdents(FlashSessionTerm, IntegerTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 20: | Line 20: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | Integer | + | 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.GetNumberOfOwnIdents(FlashSession1, 0); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 10:49, 6 February 2015
Contents
Classification
Name | GetNumberOfOwnIdents |
Short Description | Returns 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
IntegerTerm = Flash.GetNumberOfOwnIdents(FlashSessionTerm, IntegerTerm);
Description
The GetNumberOfOwnIdents term return the number of required and to-be-fulfilled identifications of a block.
Return Value
The Term returns the value, see table below.
![]()
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 | Integer | Term | - | [1] | This element provides the number of the block from which the number of identifications shall be retrieved. |
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.GetNumberOfOwnIdents(FlashSession1, 0);
See also
GetNumberOfSegments
GetNumberOfSecurities
GetLogicalBlockID
GetCompressionEncryption
GetType
BlockIsValidForAudience