Automated Measurement Setup and Control
Responsive Communication using SRQs
Responsive Communication using SRQs
Service requests (SRQs) are a method by which you can instruct the
analyzer to tell your computer program when a condition changes or
when an event of interest occurs. This communication is done via HP-IB
signals.
Analyzer SRQ events include:
• Limit test fails
• A front panel key or external keyboard key is pressed
• Hardcopy in progress or complete
• Sweep in progress or complete
• Power has been cycled
The analyzer can be set to cause an SRQ on any combination of the above
events. Using SRQs allows your program to be interrupt driven, reducing
the latency and inefficiency of polling. For more details, refer to "Using
Status Registers" in the Programmer's Guide.
For test systems that include a multiport test set:
NOTE
See the example program titled "MPCALSRQ." This IBASIC/RMB
program requires an HP 8712ET/ES or HP 8714ET/ES analyzer
connected to a multiport test set. The program configures the analyzer's
status reporting so that an SRQ is issued whenever a SelfCal is initiated.
Example programs can be found in the following four locations:
• Web site http://www.hp.com or http://www.agilent.com. Use the
search function to find Web pages related to 8712 example programs.
• Example Programs Disk, HP 8712ET/ES and HP 8714ET/ES (DOS
format): HP part number 08714-10003
• Example Programs Disk, HP 8712ET/ES and HP 8714ET/ES (LIF
format): HP part number 08714-10004
• Example Programs Guide, HP 8712ET/ES and HP 8714ET/ES: HP
part number 08714-90016
5-10
Automating Measurements