Teledyne-lecroy SATracer 3G Verification Script Engine manual Manual de usuario Pagina 43

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 68
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 42
LeCroy Corporation Verification Script Engine Reference Manual Version 1.01
11 Time Calculation Functions
This group of functions covers VSE capability to work with “time” —VSE time objects.
11.1 AddTime()
Adds two VSE time objects
Format : AddTime(time1, time2)
Return values:
Returns VSE time object representing the time interval equal to the sum of 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 = AddTime( t1, t2 ) # - returns VSE time object = 2 sec 300 ns.
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.
11.3 MulTimeByInt()
Multiplies VSE time object by integer value
38
Vista de pagina 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 67 68

Comentarios a estos manuales

Sin comentarios