beautypg.com

2 islesstime() – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 71

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 71 of 115



13.2 IsLessTime()


Verifies that one VSE time object is less than another VSE time object.


Format:

IsLessTime (time1, time2)


Parameters:

time_1

VSE time object representing the first time interval


time_2

VSE time object representing the second time interval

Return values:

Returns 1 if time_1 is less than time_2,
Returns 0 otherwise.


Example:

t1 = Time(100); t2 = Time(500);

If(IsLessTime (t1, t2)) DoSomething();