EasyManuals Logo

Tektronix Keithley 2601B-PULSE Reference Manual

Tektronix Keithley 2601B-PULSE
849 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #707 background imageLoading...
Page #707 background image
Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-349
timer.measure.t()
This function measures the elapsed time since the timer was last reset.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
time = timer.measure.t()
time
The elapsed time in seconds (1 µs resolution)
Example 1
timer.reset()
-- (intervening code)
time = timer.measure.t()
print(time)
This example resets the timer and measures the time since the
reset.
Output:
1.469077e+01
The output will vary. The above output indicates that
timer.measure.t() was executed 14.69077 seconds after
timer.reset().
Example 2
beeper.enable = beeper.ON
beeper.beep(0.5, 2400)
print("reset timer")
timer.reset()
delay(0.5)
dt = timer.measure.t()
print("timer after delay:", dt)
beeper.beep(0.5, 2400)
Enable the beeper.
Emit a beep and set the beeper.
Reset the timer.
Set a delay.
Verify the duration of the delay before emitting another beep.
Output:
reset timer
timer after delay: 5.00e-01
Also see
timer.reset() (on page 11-349)
timer.reset()
This function resets the timer to zero (0) seconds.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
timer.reset()
Example
timer.reset()
-- (intervening code)
time = timer.measure.t()
print(time)
Resets the timer and then measures the time since the reset.
Output:
1.469077e+01
The above output indicates that timer.measure.t() was
executed 14.69077 seconds after timer.reset().

Table of Contents

Other manuals for Tektronix Keithley 2601B-PULSE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix Keithley 2601B-PULSE and is the answer not in the manual?

Tektronix Keithley 2601B-PULSE Specifications

General IconGeneral
BrandTektronix
ModelKeithley 2601B-PULSE
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals