Classification
OTL Syntax
FlashJobTerm = Flash.CreateFlashJob(ComChannelTerm, FlashSessionTerm);
Description
The CreateFlashJob term create 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] |
Communication Channel.
|
Session |
FlashSession |
Term |
- |
[1] |
This element represents the FlashSession to be programmed by the FlashJob.
|
OTL Examples
DiagCom.ComChannel ComChannel1;
List<String> List1;
Flash.FlashSession FlashSession1;
Flash.FlashJob FlashJob1;
ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER);
FlashSession1 = Flash.GetFlashSession(List1[0]);
FlashJob1 = Flash.CreateFlashJob(ComChannel1, FlashSession1);
See also
CreateFlashJobByName
CreateFlashJobBySemantic
GetComChannel