Agilent Technologies N1996A-503 User Reference page 336

Csa spectrum analyzer
Table of Contents

Advertisement

Using The Status Monitoring Subsystem
The Status Byte Register
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. The *STB command does not clear the status register.
In addition to the status byte register, the status byte group also contains the service
request enable register. This register lets you choose which bits in the status byte register
will trigger a service request.
Send the *SRE <integer> command where <integer> is the sum of the decimal values of
the bits you want to enable plus the decimal value of bit 6. For example, assume that you
want 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 (because 192 = 128
+ 64). You must always add 64 (the numeric value of RQS bit 6) to your numeric sum when
you enable any bits for a service request. The command *SRE? returns the decimal value
of the sum of the bits previously enabled with the *SRE <integer> command.
The service request enable register presets to zeros (0).
336
Chapter 6

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1996a-506

Table of Contents