Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-359
Also see
(on page 7-351)
tsplink.writebit()
This function sets a TSP-Link synchronization line high or low.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
tsplink.writebit(
bit
,
data
)
bit
The trigger line (1 to 3)
data
The value to write to the bit:
•
Low:
0
•
High:
1
Details
Use
tsplink.writebit()
and
tsplink.writeport()
to control the output state of the synchronization
line when trigger operation is set to
tsplink.TRIG_BYPASS
.
If the output line is write-protected by the
tsplink.writeprotect
attribute, this command is ignored.
The reset function does not affect the present states of the digital I/O lines.
Example
tsplink.writebit(3, 0)
Sets synchronization Line 3 low (0).
Also see
(on page 7-348)
(on page 7-349)
tsplink.writeport()
This function writes to all TSP-Link synchronization lines.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
tsplink.writeport(
data
)
data
Value to write to the port (0 to 7)