2 subtracttime(), Ubtract – Teledyne LeCroy Verification Script Engine for Teledyne LeCroy PETracer Reference Manual User Manual

Page 51

Advertising
background image

Teledyne LeCroy

Verification Script Engine Reference Manual

Version 6.6x

46

11.2 SubtractTime()


Subtract two VSE time objects


Format:

SubtractTime (time1, time2)


Return values:

Returns VSE time object representing the time interval equal to the difference between
time_1 and time_2.


Parameters:

time_1

VSE time object representing the first time interval

time_2

VSE time object representing the second time interval

Example:

t1 = Time(100);

t2 = Time(2, 200);

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

Advertising