![Keithley 6482 Reference Manual Download Page 167](http://html1.mh-extra.com/html/keithley/6482/6482_reference-manual_4059393167.webp)
13-4
Return to
6482-901-01 Rev. A / August 2012
Section 13: Status Structure
Model 6482 Dual-Channel Picoammeter / Voltage Source Reference Manual
NOTE
SYSTem:PRESet and *RST have no effect on status structure registers and queues.
Programming and reading registers
This topic explains how to program enable registers and read any register in the status structure.
Programming enable registers
The only registers that can be programmed by the user are the enable registers. All other registers
in the status structure are read-only registers. The following topics explain how to determine the
parameter values for the various commands used to program enable registers. Details about the
actual commands are covered later in this section (
).
A command to program an event enable register is sent with a parameter value that sets the state
(0 or 1) of each bit in the appropriate register. An enable register can be programmed using any of
the following data formats for the parameter value: Binary, decimal, hexadecimal, or octal.
The bit positions of the register (
) indicate the binary parameter value. For example, if
you wish to set bits B4, B3, and B1, the binary value would be 11010 (where B4=1, B3=1, B1=1,
and all other bits are 0). When you use one of the other formats, convert the binary number to its
decimal, hexadecimal, or octal equivalent:
Binary 11010 = Decimal 26 = Hexadecimal 1A = Octal 32
includes the decimal weight for each register bit. To set bits B4, B3, and B1,
the decimal parameter value would be the sum of the decimal weights for those bits (16+8+2 =
26).
Table 13-1
Common and SCPI commands to reset registers and clear queues
Commands
Description
Note reference
To reset the registers:
*CLS
:STATus:PRESet
To clear the error queue:
*CLS
:STATus:QUEue:CLEar
:SYSTem:ERRor:CLEar
Reset all bits of the following event registers to 0:
Standard Event Register
Operation Event Register
Measurement Event Register
Questionable Event Register
Reset all bits of the following enable registers to 0:
Operation Event Enable Register
Measurement Event Enable Register
Questionable Event Enable Register
Clear all messages from Error Queue
Clear messages from Error Queue
Clear messages from Error Queue
Note 1
Note 1
Note 2
Note 3
Note 3
Notes:
1. The Standard Event Enable Register is not reset by STATus:PRESet or *CLS. Send the *ESE command
with a zero (0) parameter value to reset all bits of that enable register to 0. See
request commands,” page Section 13-8
2. STATus:PRESet has no effect on the error queue.
3. Use either of the two clear commands to clear the error queue.
Summary of Contents for 6482
Page 3: ......