Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Manuale Utente Pagina 38

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 64
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 37
Verification Script Engine Reference Manual
33
14.3 IsGreaterTime()
Verifies that one VSE time object is greater than the other VSE time object
Format : IsGreaterTime (time1, time2)
Return values:
Returns 1 if time_1 is greater than time_2,
returns 0 otherwise
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(500);
If( IsGreaterTime ( t1, t2 ) ) DoSomething();
14.4 IsTimeInInterval()
Verifies that a VSE time object is greater than some VSE time object and less than the other
VSE time object
Format : IsTimeInInterval( min_time, time, max_time )
Return values:
Returns 1 if min_time <= time <= max_time,
returns 0 otherwise
Parameters:
time_1 - VSE time object presenting first time interval
time_2 - VSE time object presenting second time interval
Example:
t1 = Time(100);
t = Time(400);
t2 = Time(500);
If( IsTimeInInterval ( t1, t, t2 ) ) DoSomething();
Vedere la pagina 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 63 64

Commenti su questo manuale

Nessun commento