How Do You Access The Status Registers - Agilent Technologies ESA-E Series Programmer's Manual

Esa spectrum analyzers
Hide thumbs Also See for ESA-E Series:
Table of Contents

Advertisement

Status Registers
Use Status Registers to Determine the State of Analyzer Events and Condition s
Status registers (except for the status byte register and the standar d
event status register) consist of the registers whose contents can b e
used to produce status summary bits .
These summary bits are then manipulated as follows : The conditio n
register passes summary bits to the negative and positive transitio n
filters, after which they are stored in the event register. The contents o f
the event register are logically ANDed with the contents of the even t
enable register and the result is logically ORed to produce a statu s
summary bit. The status summary bit is then passed to the status byt e
register either directly, or through the STATus : QUEStionable register.
Next, the summary bits are logically ANDed with the contents of th e
service request enable register and the result is logically ORed to
produce the request service (*RQS) bit in the status byte register.
How Do You Access the Status Registers ?
There are two different methods to access the status registers :
• Common Commands Accesses and Controls
• Status Subsystem Command s
Common Command Access and Control
Most monitoring of the analyzer conditions is done at the highest leve l
using the following IEEE common commands :
*CLS
(clear status) clears the status byte by emptying the erro r
queue and clearing all the event registers.
*ESE, *ESE?
(event status enable) sets and queries the bits in th e
enable register part of the standard event status register.
*ESR?
(event status register) queries and clears the standard event
status register .
*OPC
(operation complete) sets bit 0 in the standard event status
register when all operations are complete.
*SRE, *SRE?
(service request enable) sets and queries the value o f
the service request enable register.
*STB?
(status byte) queries the value of the status byte registe r
without erasing its contents .
Complete command descriptions are given in Chapter 5, "Language
Reference" under the subsection entitled "IEEE Common Commands"
on page 5-5 .
2-6
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents