beautypg.com

Subtracttime(), Ubtract, 2 subtracttime() – Teledyne LeCroy UWBTracer Verification Script Engine Manual User Manual

Page 53

background image

LeCroy Corporation

Verification Script Engine Manual, version 2.2





12.2 SubtractTime()


Subtracts two VSE time objects.


Format:

SubtractTime (time1, time2)

Return values:

Returns a VSE time object representing a time interval equal to subtraction of time_1 and time_2


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(2, 200);

t3 = SubtractTime (t2, t1) # Returns VSE time object = 2 sec 100 ns.

Page 53 of 95