Section 11: TSP command reference Model 2601B-PULSE System SourceMeter Instrument Reference Manual
11-42 2601B-PULSE-901-01A April 2020
Also see
dataqueue.add() (on page 11-38)
dataqueue.CAPACITY (on page 11-39)
dataqueue.clear() (on page 11-39)
dataqueue.count (on page 11-40)
format.asciiprecision (on page 11-89)
Using the data queue for real-time communication (on page 10-56)
delay()
This function delays the execution of the commands that follow it.
Usage
delay(seconds)
The number of seconds to delay (0 to 100 ks)
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
beeper.beep(0.5, 2400)
delay(0.250)
beeper.beep(0.5, 2400)
Emit a double-beep at 2400 Hz. The
sequence is 0.5 s on, 0.25 s off, 0.5 s on.
Also see
None
digio.readbit()
This function reads one digital I/O line.
Usage
data = digio.readbit(N)
The state of the I/O line
Digital I/O line number to be read (1 to 14)
Details
A returned value of zero (0) indicates that the line is low. A returned value of one (1) indicates that the
line is high.