Agilent Technologies E8663B Portable Generator User Manual


 
158 Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Programming the Status Register System
Status Groups
Standard Event Status Register
Standard Event Status Enable Register
The Standard Event Status Enable Register lets you choose which bits in the Standard Event Status
Register set the summary bit (bit 5 of the Status Byte Register) to 1.
Table4-4 Standard Event Status Register Bits
Bit Description
0 Operation Complete. A 1 in this bit position indicates that all pending signal generator operations were completed
following execution of the *OPC command.
1 Request Control. This bit is always set to 0. (The signal generator does not request control.)
2 Query Error. A 1 in this bit position indicates that a query error has occurred. Query errors have instrument error
numbers from 499 to 400.
3 Device Dependent Error. A 1 in this bit position indicates that a device dependent error has occurred. Device
dependent errors have instrument error numbers from 399 to 300 and 1 to 32767.
4 Execution Error. A 1 in this bit position indicates that an execution error has occurred. Execution errors have
instrument error numbers from 299 to 200.
5 Command Error. A 1 in this bit position indicates that a command error has occurred. Command errors have
instrument error numbers from 199 to 100.
6 User Request Key (Local). A 1 in this bit position indicates that the
Local key has been pressed. This is true even if
the signal generator is in local lockout mode.
7 Power On. A 1 in this bit position indicates that the signal generator has been turned off and then on.
Query: *ESR?
Response: The decimal sum of the bits set to 1
Example: The decimal value 136 is returned. The decimal sum = 128 (bit 7) + 8 (bit 3).
*ESE <data> <data> is the sum of the decimal values of the bits you want to enable.
Example: To enable bit 7 and bit 6 so that whenever either of those bits are set to 1, the Standard Event
Status summary bit of the Status Byte Register is set to 1. Send the command *ESE 192 (128 +
64).
Query: *ESE?
Response: Decimal value of the sum of the bits previously enabled with the *ESE <data> command.