Teledyne-lecroy SATracer 3G Verification Script Engine manual Uživatelský manuál Strana 45

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 68
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 44
LeCroy Corporation Verification Script Engine Reference Manual Version 1.01
12 Time Logical Functions
This group of functions covers VSE capability to compare VSE time objects
12.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 representing the first time interval
time_2 - VSE time object representing the second time interval
Example:
t1 = Time(100); t2 = Time(500);
If( IsEqualTime( t1, t2 ) ) DoSomething();
12.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 representing the first time interval
time_2 - VSE time object representing the second time interval
Example:
t1 = Time(100); t2 = Time(500);
If( IsLessTime ( t1, t2 ) ) DoSomething();
12.3 IsGreaterTime()
Verifies that one VSE time object is greater than the other VSE time object
Format : IsGreaterTime (time1, time2)
40
Zobrazit stránku 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 67 68

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

Žádné komentáře