Models 707B and 708B Switching Matrix Reference Manual
Section 6: Instrument programming
707B-901-01 Rev. A / August 2010
6-49
Front panel operation
To reset the TSP-Link network from the front panel:
1. Press
the
Menu
key, then select
TSPLINK
and press the
ENTER
key.
2. Turn the navigation wheel to select
RESET
and then press the
ENTER
key.
Remote programming
The commands associated with TSP-Link reset are listed in the following table.
TSP-Link reset commands
Command Description
tsplink.reset()
Initializes the TSP-Link network.
tsplink.state
Returns “
online
” if the most recent TSP-Link reset was
successful. Returns “
offline
” if the reset operation failed.
An attempted TSP-Link reset will fail if any of the following conditions are true:
•
Two or more instruments in the system have the same node number.
•
There are no other instruments connected to the unit performing the reset (only if the expected
number of nodes was not provided in the reset call).
•
One or more of the units in the system is not powered on.
•
If the actual number of nodes is less than the expected number.
The programming example below illustrates a TSP-Link reset operation and displays its state:
tsplink.reset()
print(tsplink.state)
If the reset is successful,
online
will be returned to indicate that communications with all nodes have
been established.
Introduction to TSP advanced features
You can use TSP to run test scripts in parallel on multiple nodes on the TSP-Link network.
You can also use TSP to manage resources allocated to test scripts running in parallel, and to use
the data queue to facilitate real-time communication between nodes.
Running test scripts in parallel improves functional testing, provides higher throughput, and expands
system flexibility.
There are two methods you can use to run test scripts in parallel:
•
Create multiple TSP-Link networks
•
Use a single TSP-Link network with groups
The following table describes the functions of a single TSP-Link network. Each group in this example
runs multiple test scripts at the same time or in parallel.