EasyManuals Logo
Home>Keithley>Test Equipment>2450

Keithley 2450 User Manual

Keithley 2450
878 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 #766 background imageLoading...
Page #766 background image
Model 2450
Interactive SourceMeter® Instrument Reference Manual Section 8:
TSP command reference
2450-901-01 Rev. B/September 2013 8-235
Example
tsplink.node = 3
Sets the TSP-Link node for this instrument to
number 3.
Also see
tsplink.initialize() (on page 8-231)
tsplink.state (on page 8-235)
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 that indicates which lines 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 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).
Example
data = tsplink.readport()
print(data)
Reads state of all three TSP-Link lines.
Assuming line 2 is set high, the output is:
2.000000e+00
(binary 010)
The format of the output may vary depending on the
ASCII precision setting.
Also see
Triggering using TSP-Link synchronization lines (on page 3-113)
tsplink.line[N].state (on page 8-233)
tsplink.writeport() (on page 8-236)
tsplink.state
This attribute describes the TSP-Link online state.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
state = tsplink.state
state
TSP-Link state (online or offline)

Table of Contents

Other manuals for Keithley 2450

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 2450 Specifications

General IconGeneral
BrandKeithley
Model2450
CategoryTest Equipment
LanguageEnglish

Related product manuals