EasyManuals Logo

Tektronix KEITHLEY 2600B Series User Manual

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
Page #707 background imageLoading...
Page #707 background image
Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-386 2600BS-901-01 Rev. F/August 2021
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
TSP-Link trigger lines (on page 4-45)
tsplink.readbit() (on page 9-385)
tsplink.writebit() (on page 9-396)
tsplink.writeport() (on page 9-397)
tsplink.reset()
This function initializes (resets) all nodes (instruments) in the TSP-Link system. This command is not available on
the 2604B, 2614B, or 2634B.
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 (1 to 64)
Details
This function erases all information regarding other nodes connected on the TSP-Link system and
regenerates the system configuration. This function must be called at least once before any remote
nodes can be accessed. If the node number for any instrument is changed, the TSP-Link must be
reset again.
If expectedNodes is not given, this function generates an error if no other nodes are found on the
TSP-Link network.
If nodesFound is less than expectedNodes, an error is generated. Note that the node on which the
command is running is counted as a node. For example, giving an expected node count of 1 does not
generate any errors, even if there are no other nodes on the TSP-Link network.
Also returns the number of nodes found.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix KEITHLEY 2600B Series and is the answer not in the manual?

Tektronix KEITHLEY 2600B Series Specifications

General IconGeneral
BrandTektronix
ModelKEITHLEY 2600B Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals