Synchronizing The Analyzer From Remote; Srq Generation - Agilent Technologies 4396B Gpib Programming Manual

Network/spectrum/impedance analyzer
Hide thumbs Also See for 4396B:
Table of Contents

Advertisement

Synchronizing the Analyzer from Remote

GPIB analyzer control programs that can be used for guiding you through an analyzer
calibration, and for reading and manipulating measurement data.
The control program must wait until the calculation data is processed before continuing with
the next instruction. Also, the control program must wait until the measurement is completed
before it reads the measurement data.
This chapter describes two techniques used by the control programs to synchronize the
controller and the analyzer.
Uses the
command.
This command halts the execution of the program until the analyzer completes the preceding
commands in the program.
Reports the analyzer's status and generates SRQ.
The analyzer has a status reporting mechanism that gives information about speci c
functions and events inside the analyzer. The status byte is an 8-bit register with each bit
summarizing the state of one aspect of the analyzer. For example, the error queue summary
bit is set if there are any errors in the queue. For the status byte register bit assignment, see
the
GPIB Command Reference
What is an SRQ?
manual.
An SRQ (Service Request) is an interrupt generated by the
analyzer. The analyzer can be setup to sent an SRQ when it
needs the attention of the controller. The controller can
ignore the SRQ or it can be setup to interrupt the program
using the ON INTR commands. The Status Byte can be used
to de ne the speci c event that generates an SRQ (for
example, the end of sweep complete).
Figure 3-1. SRQ Generation
Synchronizing the Analyzer from Remote
3
3-1

Advertisement

Table of Contents
loading

Table of Contents