
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-54
Document Number: 3700S-901-01 Rev. A / August 2007
digio.writeprotect
Usage
To read writeprotect mask:
mask = digio.writeprotect
To write writeprotect mask:
digio.writeprotect = mask
mask
: Set to the value that specifies the bit pattern for write protect.
Remarks
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 00000000000111. This mask
write protects lines 1, 2 and 3.
Example
Write protects lines 1, 2, 3 and 4:
digio.writeprotect = 15
display functions and attributes
The functions and attributes in this group are used for various display operations.
display.clear
Function
Clears all lines of the display.
Usage
display.clear()
Remarks
This function will switch to the user screen and then clear the display.
The display.clear(),
display.setcursor
(on page 9-65), and
display.settext
(on page 9-
66) functions are overlapped, non-blocking commands. That is, the script will NOT
wait for one of these commands to complete. These non-blocking functions do not
immediately update the display. For performance considerations, they write to a
shadow and will update the display as soon as processing time becomes available.
Also see
display.setcursor
(on page 9-66)
display.settext
(on page 9-65)
display.getannunciators
Function
Reads the annunciators that are presently turned on.
Usage
annun = display.getannunciators()
annun
: Returns the bitmap value for annunciators that are turned on.