Difference between revisions of "Extensions.Flash.SetFlashSession"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
{{DISPLAYTITLE: ''' SetFlashSession '''}}[[Category:Flash]] | {{DISPLAYTITLE: ''' SetFlashSession '''}}[[Category:Flash]] | ||
== Classification == | == Classification == | ||
| − | {{ClassificationActivity | SetFlashSession | Set the flash session to be programmed | [[Action]]| [[Extensions.Flash|OTX Flash extension]] | [[Flash related actions]] | - | - }} | + | {{ClassificationActivity | SetFlashSession | Set the flash session to be programmed | [[Action]]| [[Extensions.Flash|OTX Flash extension]] | [[Extensions.Flash#Actions|Flash related actions]] | - | - }} |
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
| − | Flash.SetFlashSession( | + | Flash.SetFlashSession(FlashJobVariable, FlashSessionTerm); |
</syntaxhighlight> | </syntaxhighlight> | ||
| Line 14: | Line 14: | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
| − | {{TableRowPropertie1| FlashJob | [[Extensions.Flash.FlashJob|FlashJob]] | [[ | + | {{TableRowPropertie1| FlashJob | [[Extensions.Flash.FlashJob|FlashJob]] | [[Variable]] | - | [1] | Represents the '''FlashJob''' where the session shall be set.}} |
| − | {{TableRowPropertie2| FlashSession | [[Extensions.Flash.FlashSession|FlashSession]] | [[Term]] | - | [1] | Represents the FlashSession to be programmed by the FlashJob.}} | + | {{TableRowPropertie2| FlashSession | [[Extensions.Flash.FlashSession|FlashSession]] | [[Term]] | - | [1] | Represents the '''FlashSession''' to be programmed by the '''FlashJob'''.}} |
|} | |} | ||
| Line 21: | Line 21: | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
DiagCom.ComChannel ComChannel1; | DiagCom.ComChannel ComChannel1; | ||
| − | |||
Flash.FlashSession FlashSession1; | Flash.FlashSession FlashSession1; | ||
Flash.FlashJob FlashJob1; | Flash.FlashJob FlashJob1; | ||
| − | ComChannel1 = DiagCom.GetComChannel(" | + | /// Flow |
| − | + | ||
| − | FlashSession1 = Flash.GetFlashSession( | + | ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER", NULL, false); |
| − | FlashJob1 = Flash.CreateFlashJobByName(ComChannel1, " | + | FlashSession1 = Flash.GetFlashSession("_7PP907357F_7520"); |
| + | FlashJob1 = Flash.CreateFlashJobByName(ComChannel1, "Flash_Jobs_FlashJob_KWP2000", FlashSession1); | ||
Flash.SetFlashSession(FlashJob1, FlashSession1); | Flash.SetFlashSession(FlashJob1, FlashSession1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 07:15, 16 October 2018
Classification
| Name | SetFlashSession |
| Short Description | Set the flash session to be programmed |
| Class | Action |
| Extension | OTX Flash extension |
| Group | Flash related actions |
| Exceptions | - |
| Checker Rules | - |
| Standard Compliant | Yes |
OTL Syntax
Flash.SetFlashSession(FlashJobVariable, FlashSessionTerm);Description
This action shall set the flash session to be programmed when the FlashJob is executed. Only one session can be set at a time. If this action is used multiple times, the later call shall overwrite the session set by a previous call.
Properties
| Name | Data Type | Class | Default | Cardinality | Description |
| FlashJob | FlashJob | Variable | - | [1] | Represents the FlashJob where the session shall be set. |
| FlashSession | FlashSession | Term | - | [1] | Represents the FlashSession to be programmed by the FlashJob. |
OTL Examples
DiagCom.ComChannel ComChannel1;
Flash.FlashSession FlashSession1;
Flash.FlashJob FlashJob1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER", NULL, false);
FlashSession1 = Flash.GetFlashSession("_7PP907357F_7520");
FlashJob1 = Flash.CreateFlashJobByName(ComChannel1, "Flash_Jobs_FlashJob_KWP2000", FlashSession1);
Flash.SetFlashSession(FlashJob1, FlashSession1);