Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Instrukcja Użytkownika Strona 32

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 64
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 31
Verification Script Engine Reference Manual
27
11 Timer functions
This group of functions covers VSE capability to work with timers -an internal routines that
repeatedly measures a timing intervals between different events.
11.1 VSE time object
A VSE time object is a special object that presents time intervals in verification scripts.
From point of view of CSL - the verification script time object is a “list-object of two elements :
( Please see CSL Manual for more details about CSL types )
[seconds, nanoseconds]
NOTE: The best way to construct VSE time object is to use Time() function (see below ).
11.2 SetTimer()
Starts timing calculation from the event where this function was called.
Format : SendTimer( timer_id = 0)
Parameters:
timer_id a unique timer identifier.
Example:
SetTimer(); # - start timing for timer with id = 0;
SetTimer(23); # - start timing for timer with id = 23;
Remark :
If this function is called second time for the same timer id it resets timer and starts timing
calculation again from the point where it was called.
Przeglądanie stron 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 63 64

Komentarze do niniejszej Instrukcji

Brak uwag