beautypg.com

Istimeininterval(), Nterval, 4 istimeininterval() – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 59

background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





13.4 IsTimeInInterval()


Verifies that a VSE time object is greater than a minimum VSE time object and less than a maximum

VSE time object.

Format:

IsTimeInInterval(min_time, time, max_time)

Return values:

Returns 1 if min_time <= time <= max_time,
Returns 0 otherwise.


Parameters:

min_time

VSE time object representing a minimum interval


time

VSE time object representing a time interval


max_time

VSE time object representing a maximum interval

Example:

t1 = Time(100);

t = Time(400);

t2 = Time(500);

If(IsTimeInInterval (t1, t, t2)) DoSomething();

Page 59 of 95