beautypg.com

Divtimebyint(), 4 divtimebyint() – Teledyne LeCroy SATracer 3G Verification Script Engine manual User Manual

Page 44

background image

LeCroy Corporation

Verification Script Engine Reference Manual

Version 1.01


Format :

MulTimeByInt (time, mult)


Return values:

Returns VSE time object representing the time interval equal to the product of time * mult


Parameters:

time - VSE time object
mult - multiplier, integer value

Example:

t = Time(2, 200);

t1 = MulTimeByInt ( t, 2 ) # - returns VSE time object = 4 sec 400 ns.





11.4 DivTimeByInt()

Divides VSE time object by integer value


Format :

DivTimeByInt (time, div)


Return values:

Returns VSE time object representing the time interval equal to the quotient of time / div


Parameters:

time - VSE time object
div - divisor, integer value

Example:

t = Time(2, 200);

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

39