Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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”.
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 63 64

Commentaires sur ces manuels

Pas de commentaire