Digio.writeprotect - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Example
digio.writeport(255)
Also see
digio.readbit()
digio.readport()
digio.writebit()

digio.writeprotect

digio.writeprotect
This attribute contains the write-protect mask that protects bits from changes from the digio.writebit() and
digio.writeport() functions.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
mask = digio.writeprotect
digio.writeprotect = mask
mask
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
Also see
digio.writebit()
digio.writeport()
2651A-901-01 Rev. A / March 2011
(on page 7-43)
(on page 7-43)
(on page 7-51)
(on page 7-53)
Affected by
Instrument reset
Recall
Sets the value that specifies the bit pattern for write-protect
(on page 7-51)
(on page 7-52)
Sets digital I/O Lines 1 through 8 high (binary
00000011111111).
Where saved
Saved setups
Write-protects Lines 1, 2, 3, and 4
Section 7: Command reference
Default value
0
7-53

Advertisement

Table of Contents
loading

Table of Contents