EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>8720E Series

Agilent Technologies 8720E Series Programmer's Guide

Agilent Technologies 8720E Series
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #355 background imageLoading...
Page #355 background image
6-6 Chapter6
Error Reporting
The Status Byte
The Status Byte
The analyzer has a status-reporting mechanism that reports information about specific
analyzer functions and events. The status byte (consisting of summary bits) is the top-level
register (see Figure 6-1). Each bit reflects the condition of another register or queue. If a
summary bit is set (equals 1), the corresponding register or queue should be read to obtain
the status information and clear the condition. Reading the status byte does not affect the
state of the summary bits. The summary bits always reflect the condition of the
summarized queue or register.
The status byte can be read by a serial poll or by using the command OUTPSTAT. OUTPSTAT
does not automatically put the instrument in remote mode, thus giving the operator access
to the analyzer front-panel functions. OUTPSTAT will return an ASCII (text) integer (0–255)
that can be interpreted as the 8-bit status byte. Using the OUTPSTAT command will not
necessarily return the same status byte value as when using a serial poll because the
“Message in Output Queue” bit is always set when using OUTPSTAT.
The status byte:
summarizes the error queue
summarizes two event-status registers that monitor specific conditions inside the
instrument
contains a bit that is set when the instrument is issuing a service request (SRQ) over
GPIB
contains a bit that is set when the analyzer has data to transmit over GPIB
Any bit in the status byte can be selectively enabled to generate a service request (SRQ)
when set. Setting a bit in the service-request-enable register with the SRE
nn
command
enables the corresponding bit in the status byte. The units variable nn represents the
binary equivalent of the bit in the status byte. For example, SRE24; enables status-byte
bits 3 and 4 (since 2
3
+2
4
= 24) and disables all the other bits. SRE will not affect the state
of the status-register bits.
The sequencing bit can be set during the execution of a test sequence to assert an SRQ.
The status byte also summarizes two queues: the output queue and the error queue. (The
error queue is described in the next section.) When the analyzer outputs information, it
puts the information in the output queue where it resides until the controller reads it. The
output queue is only one event long. Therefore, the next output request will clear the
current data. The summary bit is set whenever there is data in the output queue.

Table of Contents

Other manuals for Agilent Technologies 8720E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 8720E Series and is the answer not in the manual?

Agilent Technologies 8720E Series Specifications

General IconGeneral
BrandAgilent Technologies
Model8720E Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals