EasyManuals Logo

Keithley 2651A Reference Manual

Keithley 2651A
800 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
Page #657 background imageLoading...
Page #657 background image
Model 2651A High Power System SourceMeter® Instrument Reference Manual Section 7: Command reference
2651A-901-01 Rev. A / March 2011 7-349
tsplink.readport()
This function reads the TSP-Link synchronization lines as a digital I/O port.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
data = tsplink.readport()
data
Numeric value returned indicating which register bits are set
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 Bit B3 corresponds to Line 3. For example, a returned value of 2
has a binary equivalent of 010. Line 2 is high (1), and the other 2 lines are low (0).
Example
data = tsplink.readport()
print(data)
Reads state of all three TSP lines.
Assuming Line 2 is set high, the output is:
2.000000e+00
(binary 010)
Also see
tsplink.readbit() (on page 7-348)
tsplink.writebit()
(on page 7-359)
tsplink.writeport() (on page 7-359)
tsplink.reset()
This function initializes (resets) all nodes (instruments) in the TSP-Link system.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
nodesFound = tsplink.reset()
nodesFound = tsplink.reset(expectedNodes)
nodesFound
The number of nodes actually found on the system
expectedNodes
The number of nodes expected on the system, between 1 and 64

Table of Contents

Other manuals for Keithley 2651A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Keithley 2651A Specifications

General IconGeneral
BrandKeithley
Model2651A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals