Tsplink.readbit(); Tsplink.readport() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual

tsplink.readbit()

This function reads the state of a TSP-Link synchronization line. This function is not available on the Models
2604B/2614B/2634B.
Type
TSP-Link accessible
Function
Yes
Usage
data = tsplink.readbit(N)
data
N
Details
Returns a value of zero (0) if the line is low and 1 if the line is high.
Example
data = tsplink.readbit(3)
print(data)
Also see

tsplink.readport()

tsplink.writebit()
tsplink.readport()
This function reads the TSP-Link synchronization lines as a digital I/O port. This function is not available on the
Models 2604B/2614B/2634B.
Type
TSP-Link accessible
Function
Yes
Usage
data = tsplink.readport()
data
Details
The binary equivalent of the returned value indicates the input pattern on the I/O port. The least significant bit of
the binary number corresponds to line 1 and the value of bit 3 corresponds to line 3. For example, a returned
value of 2 has a binary equivalent of 010. This indicates that line 2 is high (1), and that the other two lines are low
(0).
2600BS-901-01 Rev. B / May 2013
Affected by
The state of the synchronization line
The trigger line (1 to 3)
(on page 7-353)
(on page 7-364)
Affected by
Numeric value that indicates which lines are set
Section 7: TSP command reference
Where saved
Default value
Assume line 3 is set high, and it is then read.
Output:
1.000000e+00
Where saved
Default value
7-353

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents