Difference between revisions of "Extensions.Flash.GetNumberOfBlocks"
Jump to navigation
Jump to search
m (Hb moved page GetNumberOfBlocks to Extensions.Flash.GetNumberOfBlocks: #3153) |
|||
| Line 1: | Line 1: | ||
| − | [[Category:Flash]] | + | {{DISPLAYTITLE: '''GetNumberOfBlocks'''}}[[Category:Flash]] |
== Classification == | == Classification == | ||
| − | {{ClassificationActivity | GetNumberOfBlocks | Specifies the number of blocks in a flash session | [[Term]] | [[Flash|OTX Flash extension]] | [[Flash session related terms]] | - | - }} | + | {{ClassificationActivity | GetNumberOfBlocks | Specifies the number of blocks in a flash session | [[Term]] | [[Extensions.Flash|OTX Flash extension]] | [[Flash session related terms]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
| Line 11: | Line 11: | ||
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. | 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. | ||
| − | {{TermReturnValue| [[Integer]] | The number of blocks in a flash session.}} | + | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] | The number of blocks in a flash session.}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
| − | {{TableRowPropertie1| Session | [[FlashSession]] | [[Term]] | - | [1] | This element represent the FlashSession to be used.}} | + | {{TableRowPropertie1| Session | [[Extensions.Flash.FlashSession|FlashSession]] | [[Term]] | - | [1] | This element represent the FlashSession to be used.}} |
|} | |} | ||
| Line 33: | Line 33: | ||
== See also == | == See also == | ||
| − | [[GetListOfValidFlashSessions]] <br/> | + | [[Extensions.Flash.GetListOfValidFlashSessions|GetListOfValidFlashSessions]] <br/> |
| − | [[GetFlashSession]] <br/> | + | [[Extensions.Flash.GetFlashSession|GetFlashSession]] <br/> |
| − | [[ | + | [[Extensions.Flash.GetSessionID|GetSessionID]] <br/> |
| − | [[GetSessionPriority]] <br/> | + | [[Extensions.Flash.GetSessionPriority|GetSessionPriority]] <br/> |
| − | [[IsDownloadSession]] <br/> | + | [[Extensions.Flash.IsDownloadSession|IsDownloadSession]] <br/> |
| − | [[ | + | [[Extensions.Flash.GetFlashKey|GetFlashKey]] |
Revision as of 07:41, 15 February 2016
Contents
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.
![]()
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
GetSessionID
GetSessionPriority
IsDownloadSession
GetFlashKey