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

  • 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 39
LeCroy Corporation Verification Script Engine Reference Manual Version 1.01
9 Timer Functions
This group of functions covers VSE capability to work with timers –-- internal routines that
repeatedly measures a timing intervals between different events.
9.1 VSE time object
A VSE time object is a special object that presents time intervals in verification scripts.
From point of view of the CSL, the verification script time object is a “list”-object of two elements.
( Please see the 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 ).
9.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 a second time for the same timer id, it resets the timer and starts timing
calculations again from the point where it was called.
35
Zobrazit stránku 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 67 68

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

Žádné komentáře