Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-333
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()
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 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 4)