Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. C / August 2016
7-365
Example 2
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)
Sets the beeper, resets the timer, sets a delay, then
verifies the time of the delay before the next beeper.
Output:
reset timer
timer after delay: 5.00e-01
Also see
(on page 7-365)
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.01
The above output indicates that
timer.measure.t()
was executed 14.69077
seconds after
timer.reset()
.
Also see
trigger.blender[N].clear()
This function clears the blender event detector and resets the overrun indicator of blender
N
.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.blender[
N
].clear()
N
The blender number (1 to 6)
Details
This command sets the blender event detector to the undetected state and resets the overrun
indicator of the event detector.