
Chapter 4 Remote Interface Reference
The SCPI Status Registers
102
The SCPI Status Registers
All SCPI instruments implement status registers in the same way. The status system
records various instrument conditions in three register groups: the Status Byte register,
the Standard Event register, and the Questionable Status register groups. The status
byte register records high-level summary information reported in the other register
groups. The diagram on the subsequent pages illustrates the SCPI status system used
by the power supply.
What is an
Event
Register?
An
event register
is a read-only register that reports defined conditions within the
power supply. Bits in an event register are
latched
. Once an event bit is set, subsequent
state changes are ignored. Bits in an event register are automatically cleared by a query
of that register (such as
*ESR?
or
STAT:QUES:EVEN?
) or by sending the
*CLS
(clear status) command. A reset (
*RST
) or device clear will not clear bits in event
registers. Querying an event register returns a decimal value which corresponds to the
binary-weighted sum of all bits set in the register.
What is an
Enable
Register?
An
enable register
defines which bits in the corresponding event register are logically
ORed together to form a single summary bit. Enable registers are both readable and
writable. Querying an enable register will not clear it. The
*CLS
(clear status)
command does not clear enable registers but it does clear the bits in the event registers.
To enable bits in an enable register, you must write a decimal value which corresponds
to the binary-weighted sum of the bits you wish to enable in the register.
What is a
Multiple
Logical Output?
The two-logical outputs of the power supply include an
INSTrument
summary
status register and an individual instrument
ISUMmary
register for each logical
output. The
ISUMmary
registers report to the
INSTrument
register, which in turn
reports to bit 13 of the Questionable status register. This is shown pictorially on the
next page.
Summary of Contents for E3646A
Page 2: ...2...
Page 16: ...16 Contents Contents...
Page 17: ...1 Quick Start...
Page 27: ...2 General Information...
Page 39: ...3 Front Panel Operation and Features...
Page 72: ...Chapter 3 Front Panel Operation and Features Calibration Overview 72...
Page 73: ...4 Remote Interface Reference...
Page 125: ...5 Error Messages...
Page 136: ...Chapter 5 Error Messages Calibration Errors 136...
Page 137: ...6 Application Programs...
Page 148: ...Chapter 6 Application Programs Example Program for Excel 97 148...
Page 149: ...7 Tutorial...
Page 160: ...Chapter 7 Tutorial Remote Programming 160...
Page 161: ...8 Specifications...
Page 169: ...Appendix Service Information...
Page 178: ...Appendix Service Information General Disassembly 178 General Disassembly...
Page 210: ......