EasyManuals Logo

Keithley 2657A User Manual

Keithley 2657A
805 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #372 background imageLoading...
Page #372 background image
Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-59
Details
The binary representation of data indicates the output pattern to be written to the I/O port. For example, a data
value of 170 has a binary equivalent of 00000010101010. Lines 2, 4, 6, and 8 are set high (1), and the other 10
lines are set low (0).
Write-protected lines are not changed.
The reset() function does not affect the present states of the digital I/O lines.
Use the digio.writebit() and digio.writeport() commands to control the output state of the
synchronization line when trigger operation is set to digio.TRIG_BYPASS.
Example
digio.writeport(255)
Sets digital I/O Lines 1 through 8 high (binary
00000011111111).
Also see
digio.readbit() (on page 7-49)
digio.readport()
(on page 7-50)
digio.writebit()
(on page 7-58)
digio.writeprotect
(on page 7-59)
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 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-58)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2657A and is the answer not in the manual?

Keithley 2657A Specifications

General IconGeneral
BrandKeithley
Model2657A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals