Specifications

1-46 Programming Guide
Preparing for Use ESG Family Signal Generators
Programming the Status Register System
To query the Status Byte Register, send the command *STB? The response will be the
decimal sum of the bits which are set to 1. For example, if bit number 7 and bit number 3
are set to 1, the decimal sum of the 2 bits is 128 plus 8. So the decimal value 136 is
returned.
In addition to the Status Byte Register, the Status Byte Group also contains a Service
Request Enable Register. This register lets you choose which bits in the Status Byte
Register will trigger a service request. Send the *SRE <num> command where <num> is the
sum of the decimal values of the bits you want to enable plus the decimal value of bit 6. For
example, to enable bit 7 so that whenever the Standard Operation Status Register
summary bit is set to 1 it will trigger a service request, send the command *SRE 192 (128
+ 64). You must always enable bit 6 when you enable any other bits for a service request.
The command *SRE? returns the decimal value of the sum of the bits previously enabled
with the *SRE <num> command.
Figure 1-19.
Status Groups
The Standard Operation Status Group and the Data Questionable Status Group each
consist of the following registers; the Standard Event Status Group is similar but does not
have negative or positive transition filters.
Condition
Register A condition register continuously monitors the hardware and firmware
status of the signal generator. There is no latching or buffering for a
condition register; it is updated in real time.
Negative
Transition
Filter A negative transition filter specifies the bits in the condition register that
will set corresponding bits in the event register when the condition bit
changes from 1 to 0.