How do I use the Service Request method (SRQ) to determine if the X-Series, ESA and PSA SIgnal Analyzers measurement is complete or has an error message using ANSI C or Visual C++?
You have a royalty-free right to use, modify, reproduce and distribute the Sample Application Files (and/or any modified version) in any way you find useful, provided that you agree that Agilent Technologies has no warranty, obligations or liability for any Sample Application Files.
The example program, SRQ.C, is writtten for the X-Series, PSA, and ESA SIgnal Analyzers. The program demonstrates how to:
- Set the service request mask to assert SRQ when a measurement is uncalibrated or an error message has occured.
- Initiate a sweep and wait for the SRQ interupt
- Poll all instruments and report the nature of the interrupt on the spectrum analyzer
X-Series, ESA, or PSA Analyzer
ANSI C or Visual C++™
Download the file below: Service Request Method (SRQ)
Compile the program using Visual C++ 5.0 or 6.0 or other ANSI C compiler. Set the GPIB address of the instrument to address 18. Connect the GPIB cable and execute program.
Documents & Downloads
Service Request Method (SRQ)
SRQ programming example for ANSI C or Visual C++ for the MXA/PSA/ESA/EMC series spectrum analyzer.
FAQ Content 2006-06-13
FILE 7 KB