Enable Srq Interrupt; Wait Until Measurement Is Done; Generate Srq - Agilent Technologies 4396B Gpib Programming Manual

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

Advertisement

Enable Registers select which events in the analyzer can cause a service request (SRQ). By
setting bit 0 of the Event Status Enable Register B to 1, the occurrence of the corresponding
event (sweep-end) sets bit 0 of the Event Status Register B. When this bit is set (and is
enabled), it is used to set a summary bit in the Status Byte Register (bit 2). Also, because bit 2
of Service Request Enable Register is set, setting the corresponding bit (Event Status Register B
summary bit) generates an SRQ. The SRQ sets bit 6 of the Status Byte Register.

Enable SRQ Interrupt

Line 80 de nes a branch. When the SRQ interrupt is generated from the GPIB interface (whose
select code is 7), the controller goes to
Line 90 enables an interrupt from interface 7 (GPIB) when bit 1 (SRQ bit) of the interrupt
register (of the controller) is set by a value of 2. See the
additional information.

Wait Until Measurement Is Done

In line 100, the
details on how to trigger a measurement, see Figure 2-3.
The controller loops back in line 110 until an SRQ interrupt occurs.

Generate SRQ

On a single sweep end, bit 0 of the ESB is set (which sets bit 2 of the Status Byte Register) and
an SRQ is generated.
Once an SRQ is generated, the SRQ interrupt is disabled.
3-4
Synchronizing the Analyzer from Remote
command triggers a measurement and the analyzer starts a sweep. For
(Line 120).
GPIB Command Reference
Loop until SRQ interrupt
At SRQ interrupt, jump to here
for

Advertisement

Table of Contents
loading

Table of Contents