Delay() - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Section 8: TSP command reference

delay()

This function delays the execution of the commands that follow it.
Type
TSP-Link accessible
Function
No
Usage
delay(seconds)
seconds
Details
The instrument delays execution of the commands for at least the specified number of seconds and fractional
seconds. However, the processing time may cause the instrument to delay 5 μs to 10 μs (typical) more than the
requested delay.
Example 1
beeper.beep(0.5, 2400)
delay(0.250)
beeper.beep(0.5, 2400)
Example 2
dataqueue.clear()
dataqueue.add(35)
timer.cleartime()
delay(0.5)
dt = timer.gettime()
print("Delay time was " .. dt)
print(dataqueue.next())
Also see
None
8-42
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Affected by
The number of seconds to delay (0 to 100,000 s)
Emit a double-beep at 2400 Hz. The sequence is
0.5 s on, 0.25 s off, 0.5 s on.
Clear the data queue, add 35 to it, and then delay
0.5 seconds before reading it.
Output:
Delay time was 0.500099
3.500000000e+01
Where saved
Default value
2450-901-01 Rev. B/September 2013

Advertisement

Table of Contents
loading

Table of Contents