Extensions.Flash.GetValidity

From emotive
Revision as of 11:16, 6 February 2015 by Tl (talk | contribs)
Jump to navigation Jump to search

Classification

Name GetValidity
Short Description Return the validity information of a block or a session
Class Term
Extension OTX Flash extension
Group Security related terms
Exceptions OutOfBoundsException
Checker Rules -
Standard Compliant Yes

OTL Syntax

StringTerm = Flash.GetValidity(FlashSessionTerm, IntegerTerm);

Description

The GetValidity term is the validiy information of a block or a 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
String The validiy information of a block or a session.

Properties

Name Data Type Class Default Cardinality Description
FlashSession FlashSession Term - [1] This element represents the FlashSession in which the block containing the segment resides.
Block Integer Term - [0..1] This element represents the number of the block whose signature shall be returned.
Security Integer Term - [1] This element defines the number of the security on which the term execution is based.

OTL Examples

DiagCom.ComChannel ComChannel1;
List<String> List1;
Flash.FlashSession FlashSession1;
Integer Integer1;
String String1;

ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER);
FlashSession1 = Flash.GetFlashSession(List1[0]);
String1 = Flash.GetValidity(FlashSession1, 0, 0);

See also

GetSignature
GetChecksum
GetSecurityMethod