Teledyne-lecroy SierraFC Verification Script Engine Reference Manu Bedienungsanleitung Seite 35

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 64
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 34
Verification Script Engine Reference Manual
30
13 Time calculation functions
This group of functions covers VSE capability to work with “time” VSE time objects.
13.1 AddTime()
Adds two VSE time objects
Format : AddTime(time1, time2)
Return values:
Returns VSE time object presenting time interval equal to sum of time_1 and time_2
Parameters:
time_1 - VSE time object presenting first time interval
time_2 - VSE time object presenting second time interval
Example:
t1 = Time(100);
t2 = Time(2, 200);
t3 = AddTime( t1, t2 ) # - returns VSE time object = 2 sec 300 ns.
13.2 SubtractTime()
Subtract two VSE time objects
Format : SubtractTime (time1, time2)
Return values:
Returns VSE time object presenting time interval equal to subtraction of time_1 and time_2
Parameters:
time_1 - VSE time object presenting first time interval
time_2 - VSE time object presenting second time interval
Example:
t1 = Time(100);
t2 = Time(2, 200);
t3 = SubtractTime ( t2, t1 ) # - returns VSE time object = 2 sec 100 ns.
Seitenansicht 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 63 64

Kommentare zu diesen Handbüchern

Keine Kommentare