2600S-900-01 Rev. C / January 2008
Return to
4-3
Series 2600 System SourceMeter
Section 4: Controlling Multiple Series 2600s (TSP-Link)
print(nodenumber)
The above
command will return the node number. For example, if the node number is 1, the
value
1.000000e00
will be returned.
Step 3: Reset the TSP-Link
Reference
See “Initialization” in Section 9 of the Series 2600 Reference Manual for more
information on resetting the TSP-Link.
After all the node numbers are set, you must reset (initialize) the TSP-Link interface system. For
initialization to succeed, all units must be powered on when the TSP-Link reset is performed.
Complete the following steps to reset the TSP-Link.
1. From the front panel, press
MENU
>
TSPLINK
.
2. Choose Reset.
For remote programming, the following command initializes the TSP-Link:
tsplink.reset()
Step 4: Check the state of the TSP-Link system
Reference
See “Initialization” in Section 9 of the Series 2600 Reference Manual for more
information on checking the state of the TSP-Link.
The
tsplink.state
read-only attribute is used to determine whether or not the TSP-Link reset
routine was completed successfully. The returned value
online
indicates that the reset was
successful for all instruments (nodes) in the system. The value
offline
indicates that the reset
has failed.
A few typical reasons for a reset failure include the following:
• Two or more instruments in the system have the same node number.
• There are no other instruments connected to the unit performing the reset.
• One of the units in a properly connected system isn't powered on.
Programming example
– After assigning node numbers to the instruments in the system, the
following command checks the state of the TSP-Link:
print(tsplink.state)
If the reset is successful,
online
will be the output to indicate that communication to all nodes is
established.
How do I use the expanded system?
Reference
See “Using the expanded system” in Section 9 of the Series 2600 Reference Manual
for more information on using the system.
Accessing resources of TSP-Link nodes
After a successful TSP-Link reset, the
node
and
localnode
variables can be used to access
resources of any node in the system.
Using
node[N]
The
node[N]
variable (where
N
=
1
to
16
) is used to send a command to any node in the system.
The node can be the Master or a Slave. Examples: