
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-330
2657A-901-01 Rev. B/December 2012
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)
Details
This command sets the blender event detector to the undetected state and resets the event detector's overrun
indicator.
Содержание 2657A
Страница 3: ......