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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 97
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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();
Przeglądanie stron 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 96 97

Komentarze do niniejszej Instrukcji

Brak uwag