Section 3: Functions and features Model 2657A High Power System SourceMeter® Instrument Reference Manual
3-86 2657A-901-01 Rev. B/December 2012
TSP-Link synchronization lines
The Model 2657A has three synchronization lines that you can use for triggering, digital I/O, and to
synchronize multiple instruments on a TSP-Link
®
network.
Connecting to the TSP-Link system
The TSP-Link
®
synchronization lines are built into the TSP-Link connection. Use the TSP-Link
connectors located on the back of the Model 2657A. If you are using a TSP-Link network, you do not
have to modify any connections. See TSP-Link system expansion interface
(on page 6-49) for
detailed information about connecting to the TSP-Link system.
Using TSP-Link synchronization lines for digital I/O
Each synchronization line is an open-drain signal. When using the TSP-Link
®
synchronization lines
for digital I/O, any node that sets the programmed line state to zero (0) causes all nodes to read 0
from the line state. This occurs regardless of the programmed line state of any other node. See the
table in the Digital I/O bit weighting
(on page 3-83) topic for digital bit weight values.
Remote TSP-Link synchronization line commands
Commands that control and access the TSP-Link
®
synchronization port are summarized in the
following table. See the TSP command reference
(on page 7-1) for complete details on these
commands. See the table in Digital I/O bit weighting
(on page 3-83) for the decimal and hexadecimal
values used to control and access the digital I/O port and individual lines.
Use the commands in following table to perform basic steady-state digital I/O operations; for example,
you can program the Model 2657A to read and write to a specific TSP-Link synchronization line or to
the entire port.
The TSP-Link synchronization lines can be used for both input and output. You must write a 1 to all
TSP-Link synchronization lines that are used as inputs.
The trigger mode for the line must be set to tsplink.TRIG_BYPASS in order to use the line for
digital I/O. See Triggering (on page 3-31) for more information.
Remote synchronization line commands
Command Description
tsplink.readbit(bit)
Reads one digital I/O input line.
tsplink.readport()
Reads the digital I/O port.
tsplink.writebit(bit, data)
Writes data to one digital I/O line.
tsplink.writeport(data)
Writes data to the digital I/O port.
tsplink.writeprotect = mask
Sets write-protect mask of the digital I/O port.
NOTE
NOTE