![Tegam 2411B Operation Manual Download Page 100](http://html1.mh-extra.com/html/tegam/2411b/2411b_operation-manual_1075421100.webp)
Chapter 8 Advanced Programming
GPIB (IEEE-488.2) Overview -
Status and Event Registers (continued)
Status and Event Registers (continued)
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 2411B has four active bits which
summarize the current status of the event registers, output queue, and certain instrument specific func-
tions. 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) or USR0 is user-defined, and summarizes the instrument status regis-
ters.
8-10
Summary of Contents for 2411B
Page 10: ...1 Quick Start...
Page 22: ......
Page 23: ...2 About Arbitrary Waveforms...
Page 30: ......
Page 31: ...Chapter 2 About Arbitrary Waveforms 2411B Block Diagram 2 8 Block Diagram...
Page 32: ...3 Front Panel Menu Operation...
Page 41: ...4 Waveform Creation System...
Page 43: ...Chapter 4 Waveform Creation System User Interface for the Waveform Creation System 4 3...
Page 61: ...5 Multi Instrument Operation...
Page 68: ...6 Performance Verification...
Page 71: ...Chapter 6 Performance Verification Verification Test Sheet 6 4...
Page 72: ...7 Remote Interface Operation...
Page 78: ...Chapter 7 Remote Interface Operation Command Set Command Set 7 7...
Page 79: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 8...
Page 80: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 9...
Page 81: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 10...
Page 82: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 11...
Page 83: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 12...
Page 84: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 13...
Page 91: ...8 Advanced Remote Operation...
Page 125: ...Appendix...
Page 133: ...AMPLITUDE OFFSET RANGES...
Page 134: ...INDEX...
Page 140: ......