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

  • 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 35
Verification Script Engine Reference Manual
31
13.3 MulTimeByInt()
Multiplies VSE time object by integer value
Format : MulTimeByInt (time, mult)
Return values:
Returns VSE time object presenting time interval equal to time * mult
Parameters:
time - VSE time object
mult - multiplier, integer value
Example:
t = Time(2, 200);
t1 = MulTimeByInt ( t, 2 ) # - returns VSE time object = 4 sec 400 ns.
13.4 DivTimeByInt()
Divides VSE time object by integer value
Format : DivTimeByInt (time, div)
Return values:
Returns VSE time object presenting time interval equal to time / div
Parameters:
time - VSE time object
div - divider, integer value
Example:
t = Time(2, 200);
t1 = DivTimeByInt ( t, 2 ) # - returns VSE time object = 1 sec 100 ns.
Zobrazit stránku 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 63 64

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

Žádné komentáře