Difference between revisions of "Extensions.Flash.GetFlashSession"
Jump to navigation
Jump to search
| Line 3: | Line 3: | ||
{{ClassificationActivity | GetFlashSession | Specifies the handle of flash session by session ID | [[Term]] | [[Flash|OTX Flash extension]] | [[Flash session related terms]] | [[UnsupportedFormatException]] | - }} | {{ClassificationActivity | GetFlashSession | Specifies the handle of flash session by session ID | [[Term]] | [[Flash|OTX Flash extension]] | [[Flash session related terms]] | [[UnsupportedFormatException]] | - }} | ||
| − | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| − | + | FlashSessionTerm = Flash.GetFlashSession(StringTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 19: | Line 19: | ||
|} | |} | ||
| − | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| − | FlashSession | + | 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]); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 10:35, 6 February 2015
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