beautypg.com

Divtimebyint(), 4 divtimebyint() – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 55

background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





12.4 DivTimeByInt()


Divides a VSE time object by an integer value.


Format:

DivTimeByInt (time, div)

Return values:

Returns a VSE time object representing 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.

Page 55 of 95