Using A Status Register - Keysight x-series User Reference Manual

Signal analyzer
Hide thumbs Also See for x-series:
Table of Contents

Advertisement

Do this by querying the condition registers which continuously monitor status. These registers represent
the current state of the instrument. Bits in a condition register are updated in real time. When the condition
monitored by a particular bit becomes true, the bit is set to 1. When the condition becomes false, the bit is
reset to 0.
• Monitor a particular condition (bit).
You can enable a particular bit(s), using the event enable register. The instrument will then monitor that
particular condition(s). If the bit becomes true (0 to 1 transition) in the event register, it will stay set until the
event register is cleared. Querying the event register allows you to detect that this condition occurred even
if the condition no longer exists. The event register can only be cleared by querying it or sending the *CLS
command.
• Monitor a particular type of change in a condition (bit).
−The transition registers are preset to register if the condition goes from 0 to 1 (false to true, or a
positive transition).
−This can be changed so the selected condition is detected if the bit goes from 1 to 0 (true to false, or a
negative transition).
−It can also be set for both types of transitions occurring.
−Or it can be set for neither transition. If both transition registers are set to 0 for a particular bit position,
that bit will not be set in the event register for either type of change.

Using a Status Register

Each bit in a register is represented by a numerical value based on its location. See figure below. This
number is sent with the command to enable a particular bit. If you want to enable more than one bit, you
would send the sum of all the bits that you want to monitor.
Figure: Status Register Bit Values
Bit 15 is not used to report status.
Example 1:
1. To enable bit 0 and bit 6 of standard event status register, you would send the command *ESE 65
because 1 + 64 = 65.
EMI Receiver Mode Reference
3  Programming the Analyzer
STATus Subsystem
103

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pxa n9030aMxa n9020aExa n9010aCxa n9000aEmi n9038a

Table of Contents