Agilent Technologies X Series Programmer's Manual page 35

Signal analyzer
Hide thumbs Also See for X Series:
Table of Contents

Advertisement

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.
2. The results of a query are evaluated in a similar way. If the *STB? command returns a
decimal value of 140, (140 = 128 + 8 + 4) then bit 7 is true, bit 3 is true and bit 2 is true.
Example 2:
1. Suppose you want to know if an Auto-trigger Timeout occurs, but you only cared about
that specific condition. So you would want to know what was happening with bit 10 in
the Status Questionable Integrity register, and not about any other bits.
2. It's usually a good idea to start by clearing all the status registers with *CLS.
3. Sending the STAT:QUES:INT:ENAB 1024 command lets you monitor only bit 10 events,
instead of the default monitoring all the bits in the register. The register default is for
positive transition events (0 to 1 transition). That is, when an auto-trigger timeout
occurs. If instead, you wanted to know when the Auto-trigger timeout condition is
cleared, then you would set the STAT:QUES:INT:PTR 0 and the STAT:QUES:INT:NTR
32767.
4. So now the only output from the Status Questionable Integrity register comes from a bit
10 positive transition. That output goes to the Integrity Sum bit 9 of the Status
Questionable register.
5. You can do a similar thing with this register to only look at bit 9 using,
STAT:QUES:ENAB 512.
6. The Status Questionable register output goes to the "Status Questionable Summary"
bit 3 of the Status Byte Register. The output from this register can be enabled using the
*SRE 8 command.
7. Finally, you would use the serial polling functionality available for the particular
bus/software that you are using to monitor the Status Byte Register. (You could also use
*STB? to poll the Status Byte Register.)
Chapter 1
Introduction to Programming X-Series Applications
STATus Subsystem (Remote Only Commands)
35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Exa n9010aMxa n9020a

Table of Contents