beautypg.com

4 divtimebyint() – Teledyne LeCroy Verification Script Engine (VSE) Manual User Manual

Page 69

background image

Teledyne LeCroy

Verification Script Engine Reference Manual




Page 69 of 115



12.4 DivTimeByInt()


Divides a VSE time object by an integer value.


Format:

DivTimeByInt (time, div)


Parameters:

time

VSE time object


div

Divider, integer value

Return values:

Returns a VSE time object representing time interval equal to time / div.


Example:

t = Time(2, 200);

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