8 - 10
8
ESR and ESE Registers
- Each bit of the 8 bit ESR Register indicates a
different condition within the device. The ESE Register provides a bit by bit
mask of the ESR register. When a bit in the ESE Register is set TRUE, it
enables the corresponding ESR bit to generate a Service Request (SRQ), if the
Standard Event bit (bit 5) in the SRE Register has also been enabled.
For example, if you wanted to generate an SRQ on
1) power on (bit 7)
2) command error (bit 5)
3) query error (bit 2)
you would first set the ESB bit in the SRE Register (see discussion below) and
then send the following:
*ESE 164
(164 = decimal equivalent of binary 10100100)
The *ESE? and *ESR? command queries allow reading of the Standard Event
Status Enable and Standard Event Status Registers, respectively.
SRE and STB Registers
- The Status Byte (STB) Register of the 2711A has
four active bits which summarize the current status of the event registers, output
queue, and certain instrument specific functions. Similar to the ESE Register,
the SRE Register provides an 8-bit mask to allow the programmer to enable each
STB bit (with the exception of the bit 6) to generate an SRQ.
As an example, to enable the Standard Event and Message Available bits, but
not the Device Dependent (bit 0), of the Status Byte Register, you would send
the following command:
*SRE 48
(48 = Decimal equivalent of B00110000)
The
*SRE?
and
*STB?
command queries allow reading of the Service Request
Enable and Status Byte Registers, respectively.
The Device Dependent bit (bit 0) is user-defined, and summarizes the instrument
status registers.
Chapter 8 Advanced Programming
GPIB (IEEE-488.2) Overview
- Status and Event Registers (continued)
Status and Event Registers (continued)
Summary of Contents for 2711A
Page 9: ...1 1 1 Quick Start 1...
Page 19: ...About Arbitrary Waveforms 2...
Page 20: ...12 1 2 About Arbitrary Waveforms 2...
Page 26: ...Front Panel Menu Operation 3...
Page 27: ...3 1 3 Front Panel Menu Operation 3...
Page 34: ...Waveform Creation System 4...
Page 35: ...14 1 4 Waveform Creation System 4...
Page 39: ...Multi Instrument Operation 5...
Page 40: ...5 1 5 Multi Instrument Operation 5...
Page 45: ...5 6 5...
Page 46: ...Performance Verification 6...
Page 47: ...6 1 6 Performance Verification 6...
Page 51: ...7 1 7 Remote Interface Operation 7...
Page 68: ...7 18 7...