Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Uživatelský manuál Strana 37

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 64
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 36
Verification Script Engine Reference Manual
32
14 Time logical functions
This group of functions covers VSE capability to compare VSE time objects
14.1 IsEqualTime()
Verifies that one VSE time object is equal to the other VSE time object
Format : IsEqualTime (time1, time2)
Return values:
Returns 1 if time_1 is equal to 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( IsEqualTime( t1, t2 ) ) DoSomething();
14.2 IsLessTime()
Verifies that one VSE time object is less than the other VSE time object
Format : IsLessTime (time1, time2)
Return values:
Returns 1 if time_1 is less 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( IsLessTime ( t1, t2 ) ) DoSomething();
Zobrazit stránku 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 63 64

Komentáře k této Příručce

Žádné komentáře