![Keithley SourceMeter 2600B Series Скачать руководство пользователя страница 737](http://html2.mh-extra.com/html/keithley/sourcemeter-2600b-series/sourcemeter-2600b-series_reference-manual_4085220737.webp)
Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-398
2600BS-901-01 Rev. C / August 2016
Details
The binary representation of
data
indicates the output pattern that is 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 two
lines are set low (0).
Write-protected lines are not changed.Write-protected lines are not changed.
The
reset()
function does not affect the present states of the trigger lines.
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
.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)
Sets the synchronization lines 1 and 2 high (binary 011).
Also see
(on page 7-384)
(on page 7-396)
(on page 7-398)
(on page 7-396)
(on page 7-398)
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.