Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-432
3700AS-901-01 Rev. D/June 2018
tsplink.writebit()
This function sets a TSP-Link trigger line high or low.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
tsplink.writebit(
N
,
data
)
N
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 trigger
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 TSP-Link trigger lines.
Example
tsplink.writebit(3, 0)
Sets trigger line 3 low (0).
Also see
(on page 11-432)
(on page 11-433)
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)