
2600AS-901-01 Rev. B / September 2008
Return to
19-219
Series 2600A System SourceMeter® Instruments Reference Manual
Section 19: Remote Commands
tsplink.writebit
Function
Sets a TSP-Link synchronization line high or low.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage
tsplink.writebit(bit, data)
bit
The synchronization line number (1 to 3).
data
Value to write to the bit; 0 (low) or 1 (high).
Remarks
• If the output line is write protected by the
attribute, the command will
be ignored.
• The
reset
function does not affect the present states of the digital I/O lines.
• Use the
tsplink.writebit
and
tsplink.writeport
commands to control the output
state of the synchronization line when the trigger mode is set to
tsplink.TRIG_BYPASS
.
Details
See
TSP-Link synchronization lines
.
Also see
Example
Sets synchronization line 3 low (0):
tsplink.writebit(3, 0)
tsplink.writeport
Function
Writes to all TSP-Link synchronization lines.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage
tsplink.writeport(data)
data
Value to write to the port; 0 to 7.
Remarks
• The binary representation of data indicates the output pattern to be written to the I/O port. For
example, a
data
value of 2 has a binary equivalent of 010. Line 2 is set high (1), and the other 2
lines are set low (0).
• Write protected lines will not be changed (see
• The
reset
function does not affect the present states of the digital I/O lines.
• Use the
tsplink.writebit
and
tsplink.writeport
commands to control the output
state of the synchronization line while the trigger mode is set to
tsplink.TRIG_BYPASS
.
Details
See
Also see
Example
Sets the synchronization lines 1 and 2 high (binary 011):
tsplink.writeport(3)