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 #780 background imageLoading...
Page #780 background image
A
ppendix E: Status model Model 2657A High Power System SourceMeter® Instrument Reference Manual
E-14 2657A-901-01 Rev. B/December 2012
Programming and reading registers
Programming enable and transition registers
The only registers that you can program are the enable and transition registers. All other registers in
the status structure are read-only registers. The following explains how to determine the parameter
values for the various commands used to program enable registers. The actual commands are
summarized in Common commands
(on page D-1) and Status function summary (on page E-4).
A command to program an event enable or transition register is sent with a parameter value that
determines the desired state (0 or 1) of each bit in the appropriate register. The bit positions of the
register (see the following figure) indicate the binary parameter value and decimal equivalent. To
program one of the registers, send the decimal value for the bits to be set. The registers are
discussed further in Enable and transition registers
(on page E-19).
Figure 155: 16-bit status register
When using a numeric parameter, registers are programmed by including the appropriate <mask>
value. For example:
*ese 1169
status.standard.enable = 1169
To convert from decimal to binary, use the information shown in the above figure. For example, to set
bits B0, B4, B7, and B10, a decimal value of 1169 would be used for the mask parameter (1169 = 1 +
16 + 128 + 1024).
(2
7
)
(2
6
)(2
5
)(2
4
)(2
3
)
(2
2
)
(2
1
)(2
0
)
(2
15
)(2
14
)
(2
13
)(2
12
)(2
11
)(2
10
)(2
9
)(2
8
)
32768
16384
Bit position
Binary value
Decimal
Weights
B7
B6
B5
B4
B3
B2
B1 B0
0/1
0/1 0/10/1 0/1 0/10/10/1
128
64
32
16
8 4
2
1
B15 B14 B13 B12 B11 B10 B9 B8
8192 4096 2048 1024 512 256
0/1
0/1 0/10/1 0/1 0/10/10/1
Bit position
Binary alue
Decimal
Weights
B. Bits 8 through 15
A. Bits 0 through 7

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