![Keithley 707B Скачать руководство пользователя страница 470](http://html.mh-extra.com/html/keithley/707b/707b_reference-manual_661685470.webp)
Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-217
Example
data = tsplink.readport()
print(data)
Reads state of all three TSP lines.
Assuming Line 2 is set high, the output is:
2.00
(binary 010)
Also see
(on page 7-216)
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
Details
This function erases all knowledge of other nodes connected on the TSP-Link 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 initialized 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 will not generate any errors,
even if there are no other nodes on the TSP-Link network.
Also returns the number of nodes found.
Also see
(on page 7-218)