Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Uživatelský manuál Strana 34

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 64
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 33
Verification Script Engine Reference Manual
29
12 Time construction functions
This group of functions is used to construct VSE time objects.
12.1 Time()
Constructs verification script time object.
Format : Time(nanoseconds)
Time(seconds, nanoseconds)
Return values:
First function returns [0, nanoseconds], second one returns [seconds, nanoseconds]
Parameters:
nanosecondsnumber of nanoseconds in specified time
seconds number of seconds in specified time
Example:
Time ( 50 * 1000 ); # - create time object of 50 microseconds
Time (3, 100); # - create time object of 3 seconds and 100 nanoseconds
Time( 3 * MICRO_SECS ); # - create time object of 3 microseconds
Time( 4 * MILLI_SECS ); # - create time object of 4 milliseconds
NOTE: MICRO_SECS and MILLI_SECS are constants defined in “VS_constants.inc”.
Zobrazit stránku 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 63 64

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

Žádné komentáře