Extensions.FlashPlus.GetOwnIdentFromComChannel

From emotive
Jump to navigation Jump to search

Classification

Name GetOwnIdentFromComChannel
Short Description An identification otx:String
Class Term
Extension OTX FlashPlus extension
Group Flash plus related terms
Exceptions OutOfBoundsException
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm FlashPlus.GetOwnIdentFromComChannel(NumericTerm block, FlashSessionTerm session, ComChannelTerm comChannel);

Description

The GetOwnIdentFromComChannel term will return an identification otx:String which will be read from an ECU that is accessed by the given diag:ComChannel.

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
String An identification otx:String which will be read from an ECU that is accessed by the given diag:ComChannel

Properties

Name Data Type Class Default Cardinality Description
Block Numeric Term [1..1] Specifies a block in the flash:FlashSession context that will be addressed. The value will be in the range of the existing blocks. Float values will be truncated.
Session FlashSession Term [1..1] Specifies the flash:FlashSession, which provides the data that will be addressed.
ComChannel ComChannel Term [1..1] The communication channel, which will be used for communication with the ECU to get the identification string.

OTL Examples

/// Local Declarations

DiagCom.ComChannel ComChannel1;
Flash.FlashSession FlashSession1;
String String1;

/// Flow

ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER", NULL, false);
FlashSession1 = Flash.GetFlashSession("_7PP907357F_7520");
String1 = FlashPlus.GetOwnIdentFromComChannel(1, FlashSession1, ComChannel1);

See also

SetActiveFile
GetActiveFileName
GetFlashDataFileNames
IsLateBound
FlashPlusException