Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-366
2600BS-901-01 Rev. B / May 2013
tsplink.writeprotect
This attribute contains the write-protect mask that protects bits from changes by the
tsplink.writebit()
and
tsplink.writeport()
functions. This attribute is not available on the Models 2604B/2614B/2634B.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Recall setup
Saved setup
0
Usage
mask
= tsplink.writeprotect
tsplink.writeprotect =
mask
mask
An integer that specifies the value of the bit pattern for write-protect; set bits to
1
to
write-protect the corresponding TSP-Link trigger line
Details
The binary equivalent of
mask
indicates the mask to be set for the TSP-Link trigger line. For example, a
mask
value of
5
has a binary equivalent of 101. This
mask
write-protects TSP-Link trigger lines 1 and 3.
Example
tsplink.writeprotect = 5
Write-protects TSP-Link trigger lines 1 and 3.
Also see
Controlling digital I/O lines
(on page 3-85)
tsplink.readbit()
(on page 7-353)
tsplink.readport()
(on page 7-353)
tsplink.writebit()
(on page 7-364)
tsplink.writeport()
(on page 7-365)
tspnet.clear()
This function clears any pending output data from the instrument.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
tspnet.clear(
connectionID
)
connectionID
The connection ID returned from
tspnet.connect()
Details
This function clears any pending output data from the device. No data is returned to the caller and no data is
processed.
Summary of Contents for System SourceMeter 2601B
Page 841: ......