Difference between revisions of "Extensions.Flash.CreateFlashJob"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | /// Local Declarations | |
+ | Flash.FlashJob FlashJobVariable; | ||
+ | /// Flow | ||
+ | FlashJobVariable = Flash.CreateFlashJob(ComChannelTerm, FlashSessionTerm); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 22: | Line 25: | ||
== OTL Examples == | == OTL Examples == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
+ | /// Local Declarations | ||
+ | |||
DiagCom.ComChannel ComChannel1; | DiagCom.ComChannel ComChannel1; | ||
Flash.FlashSession FlashSession1; | Flash.FlashSession FlashSession1; |
Revision as of 03:36, 25 October 2018
Contents
Classification
Name | CreateFlashJob |
Short Description | Create a new FlashJob |
Class | Term |
Extension | OTX Flash extension |
Group | Flash jobs related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
Flash.FlashJob FlashJobVariable;
/// Flow
FlashJobVariable = Flash.CreateFlashJob(ComChannelTerm, FlashSessionTerm);
Description
The CreateFlashJob term creates a new FlashJob for the specified FlashSession. The FlashJob can subsequently be used for initiating an ECU reprogramming 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 |
FlashJob | A new FlashJob for the specified FlashSession. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Term | - | [0..1] | This optionally specifies the diag:ComChannel object to which the to-be-created FlashJob belongs to and will be executed on when the diag:ExecuteDiagService action is used |
Session | FlashSession | Term | - | [1] | This element represents the FlashSession to be programmed by the FlashJob. |
OTL Examples
/// Local Declarations
DiagCom.ComChannel ComChannel1;
Flash.FlashSession FlashSession1;
Flash.FlashJob FlashJob1;
/// Flow
ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER_LED_LINKS", "Scheinwerfer_LED_DK2F_001", false);
FlashSession1 = Flash.GetFlashSession("_7PP941472D_7500");
FlashJob1 = Flash.CreateFlashJob(ComChannel1, FlashSession1);
See also
CreateFlashJobByName
CreateFlashJobBySemantic
GetFlashSession
GetComChannel