53220A/53230A User’s Guide
273
Instrument Status
8
Status Byte Register
The Status Byte register contains the summary bits of the Questionable Data
Register Group, the Standard Operation Register Group, the Standard Event
Register, the counter error queue, and the output buffer (Figure 8-1).
The Master Summary RQS bit (Bit 6) is set (1) when any other bit in the Status
Byte register is set.
Reading the Status Byte Register
The Status Byte register is read with either of the following commands:
*STB?
SPOLL
Both commands return the decimal weighted sum of all set bits in the register.
The difference between the commands is that
*STB?
does not clear bit 6
(RQS). The serial poll (SPOLL) does clear bit 6.
All bits in the Status Byte register (except bit 4) are cleared with the
command:
*CLS
Bit 4 is cleared when data is read from the output buffer.
Service Request Enable Register
The Service Request Enable register specifies which (status group) summary
bit(s) will send a service request message to the computer.
The bits are specified with the command:
*SRE <enable>
*SRE?
(query form)
-
enable
: decimal value corresponding to the binary-weighted sum of the bits
in the register. For example, to enable the bit representing the Questionable
Data Register Group:
*SRE 8
.
Chapter 7 and Product Reference CD (p/n 53220-13601) contain examples
using the
STATus
subsystem.
Summary of Contents for 53220A
Page 10: ...10 53220A 53230A User s Guide Contents...
Page 34: ...34 53220A 53230A User s Guide 1 Preparation for Use...
Page 142: ...142 53220A 53230A User s Guide 4 53220A 53230A Input Signal Conditioning...
Page 190: ...190 53220A 53230A User s Guide 5 Triggering and Gating...
Page 268: ...268 53220A 53230A User s Guide 8 Instrument Status Figure 8 1 The 53220A 53230A Status System...
Page 274: ...274 53220A 53230A User s Guide 8 Instrument Status...
Page 288: ...288 53220A 53230A User s Guide A 53220A 53230A Error Messages...