Extensions.Flash.GetNumberOfSecurities
Revision as of 06:59, 15 February 2016 by Hb (talk | contribs) (Hb moved page GetNumberOfSecurities to Extensions.Flash.GetNumberOfSecurities: #3153)
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