Models 707B and 708B Switching Matrix Reference Manual
Use the tsplink.writebit() and tsplink.writeport() commands to control the output state of the
synchronization line when trigger operation is set to tsplink.TRIG_BYPASS.
Example
tsplink.writeport(3)
Also see
tsplink.readbit()
tsplink.readport()
tsplink.writebit()
tsplink.writeprotect
tsplink.writeprotect
This attribute contains the write-protect mask that protects bits from changes by the tsplink.writebit() and
tsplink.writeport() functions.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
mask = tsplink.writeprotect
tsplink.writeprotect = mask
mask
Details
The binary equivalent of mask indicates the mask to be set for the I/O port. For example, a mask value of 5 has a
binary equivalent 101. This mask write-protects Lines 1 and 3.
Example
tsplink.writeprotect = 5
Also see
tsplink.readbit()
tsplink.readport()
tsplink.writeport()
707B-901-01 Rev. A / August 2010
(on page 7-216)
(on page 7-216)
(on page 7-226)
(on page 7-227)
Affected by
System reset
Specifies the value of the bit pattern for write-protect; bits set to 1 to write-protect
the corresponding line
(on page 7-216)
(on page 7-216)
(on page 7-226)
Sets the synchronization Lines 1 and 2 high (binary 011).
Where saved
Default value
Create
0
configuration script
Write-protects Lines 1 and 3.
Section 7: Command reference
7-227