Difference between revisions of "Extensions.Flash.GetNumberOfSecurities"
Jump to navigation
Jump to search
| Line 3: | Line 3: | ||
{{ClassificationActivity | GetNumberOfSecurities | Return the number of security information of a block or session | [[Term]] | [[Flash|OTX Flash extension]] | [[Flash block related terms]] | [[OutOfBoundsException]] | - }} | {{ClassificationActivity | GetNumberOfSecurities | Return the number of security information of a block or session | [[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.GetNumberOfSecurities(FlashSessionTerm); | |
</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.GetNumberOfSecurities(FlashSession1, null); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 10:50, 6 February 2015
Contents
Classification
| Name | GetNumberOfSecurities |
| Short Description | Return the number of security information of a block or session |
| Class | Term |
| Extension | OTX Flash extension |
| Group | Flash block related terms |
| Exceptions | OutOfBoundsException |
| Checker Rules | - |
| Standard Compliant | Yes |
OTL Syntax
IntegerTerm = Flash.GetNumberOfSecurities(FlashSessionTerm);Description
The GetNumberOfOwnIdents term return the number of security information of a block or session.
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 security information of a block or session. |
Properties
| Name | Data Type | Class | Default | Cardinality | Description |
| Session | FlashSession | Term | - | [1] | This element represents the FlashSession of interest. |
| Block | Integer | Term | - | [0..1] | This optional element is defined the block from which the number of security information to be retrieved. If the Element is omitted, the term indicates the number of securities that are defined in the Flash Session. |
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.GetNumberOfSecurities(FlashSession1, null);See also
GetNumberOfSegments
GetNumberOfOwnIdents
GetLogicalBlockID
GetCompressionEncryption
GetType
BlockIsValidForAudience