Section 7: TSP command reference
Series 2600B System SourceMeter® Instrument Reference Manual
7-60
2600BS-901-01 Rev. B / May 2013
digio.writeprotect
This attribute contains the write-protect mask that protects bits from changes from the
digio.writebit()
and
digio.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
= digio.writeprotect
digio.writeprotect =
mask
mask
Sets the value that specifies the bit pattern for write-protect
Details
Bits that are set to one cause the corresponding line to be write-protected.
The binary equivalent of
mask
indicates the mask to be set for the I/O port. For example, a mask value of 7 has a
binary equivalent of 00000000000111. This mask write-protects lines 1, 2, and 3.
Example
digio.writeprotect = 15
Write-protects lines 1, 2, 3, and 4.
Also see
digio.writebit()
(on page 7-58)
digio.writeport()
(on page 7-59)
display.clear()
This function clears all lines of the display.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
display.clear()
Details
This function switches to the user screen and then clears the display.
The
display.clear()
,
display.setcursor()
, and
display.settext()
functions are overlapped
commands. That is, the script does not wait for one of these commands to complete. These functions do not
immediately update the display. For performance considerations, they update the physical display as soon as
processing time becomes available.
Also see
display.setcursor()
(on page 7-75)
display.settext()
(on page 7-76)
Содержание System SourceMeter 2601B
Страница 841: ......