Chapter 3 Programming Your Universal Counter for Remote Operation
How to Program the Counter to Synchronize Measurements
3-48
Programming Guide
*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 is the most flexible, but also the most
complex.
:CALC3:AVERAGE ON
:CALC3:AVERAGE:COUNT 50
:TRIG:COUNT:AUTO ON
*ESE 1
*SRE 32
Enable statistics.
Base statistics on 50 measurements.
On INIT, take N measurements.
Summarize OPC bit for Status Byte
Register.
SRQ when event summary bit is 1 .
Set up program to specify service routine and enable interrupt when SRQ is
asserted.
:INIT
*OPC
Start measurements.
Enable OPC bit.
Program could be doing other things while waiting for SRQ.
When SRQ occurs and the Counter has been identified as the cause of the SRQ,
ask for the data:
:CALC3:AVERAGE:ALL?
Ask for statistics.
Summary of Contents for 53131A
Page 1: ...Programming Guide HP 53131A 132A 225 MHz Universal Counter ...
Page 2: ......
Page 13: ...1 1 Before You Start ...
Page 24: ...Chapter 1 Before You Start Related Documentation 1 12 Programming Guide ...
Page 25: ...2 2 Command Summary A Quick Reference ...
Page 68: ...Chapter 2 Command Summary RST Response 2 44 Programming Guide ...
Page 69: ...3 3 Programming Your Universal Counter for Remote Operation ...
Page 167: ...4 4 Command Reference A Dictionary ...
Page 310: ...Chapter 4 Command Reference WAI Wait to Continue Command 4 144 Programming Guide ...
Page 311: ...5 5 Errors ...
Page 329: ......
Page 330: ...H Manual Part Number 53131 90044 Printed in U S A NOVEMBER 1996 ...