Chapter 3 Programming Your Counter for Remote Operation
Programming the Counter to Synchronize Measurements
3-48
Programming Guide
3
Programming the Counter to
Synchronize Measurements
Synchronizing Measurement Completion
There are three commands for synchronizing the end of a measurement
and computer transfer of data:
1.
The *WAI command
2.
The *OPC? command
3.
The *OPC command to assert SRQ
The following discussion shows how to use these three commands.
Resetting the Counter and Clearing the Interface
Before attempting any programming, it is best to set the Counter to a
known state. The following command grouping illustrates how to reset the
Counter. Before issuing these commands, execute a device clear to reset
the interface and the Counter. You should consult your interface card's
documentation for information on issuing a device clear, since the device
clear command is specific to the interface you are using. Perform the
following steps:
1.
Issue an Interface Clear and a Device Clear. (See your computer or
interface card documentation for information on how to issue this
command.)
2.
Issue the following commands:
*RST
*CLS
*SRE 0
*ESE 0
:STAT:PRES
Summary of Contents for 53150A Series
Page 1: ... Programming Guide HP 53150A 151A 152A Microwave Frequency Counter ...
Page 2: ......
Page 10: ...Contents x Programming Guide ...
Page 11: ...1 Before You Start ...
Page 20: ...Chapter 1 Before You Start Related Documentation 1 10 Programming Guide 1 ...
Page 21: ...2 Command Summary A Quick Reference ...
Page 41: ...3 Programming Your Counter for Remote Operation ...
Page 101: ...4 Command Reference A Dictionary ...
Page 162: ...Chapter 4 Command Reference Common Commands 4 62 Programming Guide 4 ...
Page 163: ...5 Errors ...
Page 174: ...Chapter 5 Errors Error Types 5 12 Programming Guide 5 ...
Page 184: ......
Page 186: ... Manual Part Number 53150 90002 Printed in U S A NOVEMBER 1997 ...