Extensions.Flash.GetFlashSession
Jump to navigation
Jump to search
Contents
Classification
| Name | GetFlashSession |
| Short Description | Specifies the handle of flash session by session ID |
| Class | Term |
| Extension | OTX Flash extension |
| Group | Flash session related terms |
| Exceptions | UnsupportedFormatException |
| Checker Rules | - |
| Standard Compliant | Yes |
OTL Syntax
FlashSessionTerm = Flash.GetFlashSession(StringTerm);Description
The GetFlashSession term is a handle of Flash session, identified by a session ID
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
| Data Type | Description |
| FlashSession | Handle of Flash Session. |
Properties
| Name | Data Type | Class | Default | Cardinality | Description |
| SessionID | String | Term | - | [1] | A unique identifier in the environment that is used to identify a Flash session. |
OTL Examples
DiagCom.ComChannel ComChannel1;
List<String> List1;
Flash.FlashSession FlashSession1;
ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER);
FlashSession1 = Flash.GetFlashSession(List1[0]);See also
GetListOfValidFlashSessions
GetSessionID
GetSessionPriority
GetNumberOfBlocks
IsDownloadSession
GetFlashKey