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.
Содержание 53131A
Страница 1: ...Programming Guide HP 53131A 132A 225 MHz Universal Counter ...
Страница 2: ......
Страница 13: ...1 1 Before You Start ...
Страница 24: ...Chapter 1 Before You Start Related Documentation 1 12 Programming Guide ...
Страница 25: ...2 2 Command Summary A Quick Reference ...
Страница 68: ...Chapter 2 Command Summary RST Response 2 44 Programming Guide ...
Страница 69: ...3 3 Programming Your Universal Counter for Remote Operation ...
Страница 167: ...4 4 Command Reference A Dictionary ...
Страница 172: ...Chapter 4 Command Reference CALCulate Subsystems 4 6 Programming Guide Figure 4 1 The CALCulate Subsystems ...
Страница 310: ...Chapter 4 Command Reference WAI Wait to Continue Command 4 144 Programming Guide ...
Страница 311: ...5 5 Errors ...
Страница 329: ......
Страница 330: ...H Manual Part Number 53131 90044 Printed in U S A NOVEMBER 1996 ...