Istimeininterval() - LeCroy USB Protocol Suite Reference Manual

Verification script engine
Table of Contents

Advertisement

LeCroy Corporation

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)
Parameters:
min_time
time
max_time
Return values:
Returns 1 if min_time <= time <= max_time,
Returns 0 otherwise.
Example:
t1 = Time(100);
t
= Time(400);
t2 = Time(500);
If(IsTimeInInterval (t1, t, t2)) DoSomething();
VSE time object representing a minimum interval
VSE time object representing a time interval
VSE time object representing a maximum interval
Verification Script Engine Reference Manual
Page 71 of 107

Advertisement

Table of Contents
loading

Table of Contents