Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Manuel d'utilisateur Page 38

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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();
Vue de la page 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 63 64

Commentaires sur ces manuels

Pas de commentaire