Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Instrukcja Użytkownika Strona 56

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 97
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 55
56
Chapter 13: Time Logical Functions
This group of functions covers VSE capability to compare VSE time objects.
13.1 IsEqualTime()
Verifies whether 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();
13.2 IsLessTime()
Verifies whether or not 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();
Przeglądanie stron 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 96 97

Komentarze do niniejszej Instrukcji

Brak uwag