Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Manuale Utente Pagina 57

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 97
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 56
57
13.3 IsGreaterTime()
Verifies whether or not 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 representing the first time interval
time_2 VSE time object representing the second time interval
Example
t1 = Time(100); t2 = Time(500);
If( IsGreaterTime ( t1, t2 ) ) DoSomething();
13.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
min_time VSE time object representing the first time interval
max_time VSE time object representing the second time interval
Example
t1 = Time(100);
t = Time(400);
t2 = Time(500);
If( IsTimeInInterval ( t1, t, t2 ) ) DoSomething();
Vedere la pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 96 97

Commenti su questo manuale

Nessun commento