
1-50 Programming Guide
Preparing for Use ESG Family Signal Generators
Programming the Status Register System
To query the Standard Event Status Register, send the command *ESR?. 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.
Figure 1-22.
In addition to the Standard Event Status Register, the Standard Event Status Group also
contains a Standard Event Status Enable Register. This register lets you choose which bits
in the Standard Event Status Register will set the summary bit (bit 5 of the Status Byte
Register) to 1. Send the *ESE <num> command where <num> is the sum of the decimal
values of the bits you want to enable. For example, to enable bit 7 and bit 6 so that
whenever either of those bits is set to 1, the Standard Event Status summary bit of the
Status Byte Register will be set to 1, send the command *ESE 192 (128 + 64). The
command *ESE? returns the decimal value of the sum of the bits previously enabled with
the *ESE <num> command.
Kommentare zu diesen Handbüchern