beautypg.com

Time logical functions, Isequaltime(), Qual – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 56: 13 time logical functions, 1 isequaltime()

background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





13 Time

Logical

Functions


This group of functions covers VSE capability to compare VSE time objects.

13.1 IsEqualTime()


Verifies that one VSE time object is equal to another VSE time object.


Format:

IsEqualTime (time1, time2)

Return values:

Returns 1 if time_1 is equal to time_2,
Returns 0 otherwise.


Parameters:

time_1

VSE time object representing the first time interval


time_2

VSE time object representing the second time interval

Example:

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

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

Page 56 of 95