EasyManua.ls Logo

Tektronix Keithley SourceMeter 2470 - Tsplink.state

Tektronix Keithley SourceMeter 2470
995 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...
2470
High Voltage SourceMeter Instrument Reference Manual Section 14:
TSP command reference
2470-901-01 Rev. A / May 2019 14-275
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 trigger lines (on page 9-6)
tsplink.line[N].state (on page 14-273)
tsplink.writeport() (on page 14-276)
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)
Details
When the instrument power is first turned on, the state is offline. After tsplink.initialize()
or tsplink.reset() is successful, the state is online.
Example
state = tsplink.state
print(state)
Read the state of the TSP-Link system. If it is online, the output
is:
online
Also see
tsplink.initialize() (on page 14-270)
tsplink.node (on page 14-274)

Table of Contents

Other manuals for Tektronix Keithley SourceMeter 2470

Related product manuals