Extensions.Flash.CreateFlashJobBySemantic

From emotive
Revision as of 08:46, 16 October 2018 by Hb (talk | contribs)
Jump to navigation Jump to search

Classification

{{ClassificationActivity | CreateFlashJobBySemantic | Create a new FlashJob for the specified ComChannel | Term | OTX Flash extension | [[Flash jobs related terms | AmbiguousSemanticException | - }}

OTL Syntax

FlashJobTerm = Flash.CreateFlashJobBySemantic(ComChannelTerm, StringTerm, FlashSessionTerm);

Description

The CreateFlashJobBySemantic term creates a new FlashJob for the specified ComChannel with the semantic attribute provided as an argument. 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 ComChannel.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Term - [1] This 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.
Semantic String Term - [1] Represents the name of the to-be-created FlashJob.
Session FlashSession Term - [0..1] This optional element 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", "SCHEINWERFER_1", false);
FlashSession1 = Flash.GetFlashSession("_7PP907357F_7520");
FlashJob1 = Flash.CreateFlashJobBySemantic(ComChannel1, "FLASHJOB", FlashSession1);

See also

CreateFlashJob
CreateFlashJobByName
GetFlashSession
GetComChannel