Model 2606B System SourceMeter® Instrument Reference Manual
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 15-361)
timer.reset()
This function resets the timer to zero (0) seconds.
Type
TSP-Link accessible
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().
Also see
timer.measure.t()
2606B-901-01 Rev. C November 2021
Affected by
(on page 15-360)
Section 15: TSP command reference
Where saved
Default value
15-361
Need help?
Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?