HP 53150A Series Programming Manual page 90

Microwave frequency counter
Table of Contents

Advertisement

Chapter 3 Programming Your Counter for Remote Operation
Programming the Counter to Synchronize Measurements
because of the preceding *WAI command. If this line had been a command
to address another instrument, it would be immediately executed. If you
had wanted to hold off the command to another instrument, you would use
the *OPC? command instead of the *WAI command.
:AVERAGE:COUNT 50
:AVERAGE ON
:INIT
*OPC?
Read the Counter. The program waits until the Counter returns a 1. (The
HP-IB timeout must be set so that it is longer than the expected
measurement time.)
Using the *OPC Command to Assert SRQ
This method is recommended when the Counter is interfaced with many
other instruments, any of which can assert SRQ. The commands *OPC,
*ESE 1 and *SRE 32 are used to assert the SRQ line to alert the computer
that the Counter has completed a measurement. It is up to the computer
to use the serial poll command to determine which of the instruments on
the bus requested service.
Of the three procedures discussed here, this one is the most flexible, but it
is also the most complex:
:AVERAGE:COUNT 50
:AVERAGE ON
*ESE 1
*SRE 32
3-50
On INIT, take 50 measurements.
Enable averaging.
Start making measurements.
Tell Counter to put a 1 in the output buffer
when 50th measurement is complete.
On INIT, take N measurements.
Enable averaging.
Summarize OPC bit for Status Byte Register.
SRQ when event summary bit is 1.
Programming Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

53152a series53151a series

Table of Contents