Chapter 3 Programming Your Counter for Remote Operation
Programming the Counter to Synchronize Measurements
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
3-48
Programming Guide