Agilent Technologies N8201A Service Manual Page 544

  • Download
  • Add to my manuals
  • Print
  • Page
    / 622
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 543
544 Agilent N8201A Performance Downconverter Synthetic Instrument Module, 250 kHz to 26.5 GHz
27 Using the STATus System
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 10 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.
For example, to enable bit 0 and bit 6 of standard event status register, you would send the
command *ESE 65 because 1 + 64 = 65.
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.
Figure 10 Status Register Bit Values
Using the Service Request (SRQ) Method
Your language, bus and programming environment must be able to support SRQ interrupts.
(For example, BASIC used with the GPIB.) SRQ is available on SICL LAN. When you monitor
a condition with the SRQ method, you must:
1 Determine which bit monitors the condition.
2 Determine how that bit reports to the request service (RQS) bit of the status byte.
3 Send GPIB commands to enable the bit that monitors the condition and to enable the
summary bits that report the condition to the RQS bit.
Page view 543
1 2 ... 539 540 541 542 543 544 545 546 547 548 549 ... 621 622

Comments to this Manuals

No comments