EasyManua.ls Logo

Tektronix KEITHLEY 2600B Series

Tektronix KEITHLEY 2600B Series
834 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-54 2600BS-901-01 Rev. F/August 2021
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. This command is not available on the 2604B, 2614B, or 2634B.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
data = digio.readbit(N)
data
The state of the I/O line
N
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.
Example
print(digio.readbit(4))
Assume line 4 is set high, and it is then read.
Output:
1.00000e+00
Also see
digio.readport() (on page 9-55)
digio.writebit() (on page 9-63)
digio.writeport() (on page 9-64)
Digital I/O port (on page 4-38)

Table of Contents

Related product manuals