
Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-336
2600BS-901-01 Rev. B / May 2013
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
timer.reset()
(on page 7-336)
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
timer.measure.t()
(on page 7-335)
trigger.blender[N].clear()
This function clears the blender event detector and resets 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 event detector's overrun
indicator.
Summary of Contents for System SourceMeter 2601B
Page 841: ......