Extensions.Flash.CreateFlashJob

From emotive
Revision as of 07:19, 15 February 2016 by Hb (talk | contribs)
Jump to navigation Jump to search

Classification

Name CreateFlashJob
Short Description Create a new FlashJob for the specified FlashSession
Class Term
Extension OTX Flash extension
Group Flash jobs related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

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.

Icons Note.png 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