beautypg.com

Time logical functions, Qual – Teledyne LeCroy IBTracer 4X - IBTracer Verification Script Engine Users Manual User Manual

Page 23

background image

Computer Access Technology Corporation

IBTracer Verification Script Engine Manual, version 1.0


Page 23 of 35






11.4 DivTimeByInt()

Divides VSE time object by integer value


Format :

DivTimeByInt (time, div)

Return values:

Returns VSE time object presenting time interval equal to time / div


Parameters:

time - VSE time object
div - divider, integer value

Example:

t = Time(2, 200);

t1 = DivTimeByInt ( t, 2 ) # - returns VSE time object = 1 sec 100 ns.




12. Time logical functions


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



12.1 IsEqualTime()

Verifies that one VSE time object is equal to the other 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 presenting first time interval
time_2 - VSE time object presenting second time interval

Example:

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

This manual is related to the following products: