System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. C / August 2016 7-365
Example 2
print("reset timer")
timer.reset()
delay(0.5)
dt = timer.measure.t()
print("timer after delay:", dt)
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-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
-- (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
.
Also see
timer.measure.t() (on page 7-364)
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
Usage
trigger.blender[N].clear()
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.