Section 15: TSP command reference
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.
Type
TSP-Link accessible
Function
Yes
Usage
data = digio.readbit(N)
data
N
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.
Example
print(digio.readbit(4))
Assume line 4 is set high, and it is then read.
Output:
1.00000e+00
Also see
digio.readport()
digio.writebit()
digio.writeport()
Digital I/O port
digio.readport()
This function reads the digital I/O port.
Type
TSP-Link accessible
Function
Yes
Usage
data = digio.readport()
data
15-54
Affected by
The state of the I/O line
Digital I/O line number to be read (1 to 14)
(on page 15-54)
(on page 15-63)
(on page 15-63)
(on page 7-37)
Affected by
The present value of the input lines on the digital I/O port
Model 2606B System SourceMeter® Instrument Reference Manual
Where saved
Where saved
2606B-901-01 Rev. C November 2021
Default value
Default value
Need help?
Do you have a question about the KEITHLEY SourceMeter 2606B and is the answer not in the manual?