Programming the Instrument 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 Instrument and Clearing the Interface
Before attempting any programming, it is best to set the instrument to a known
state. The following command grouping illustrates how to reset the instrument.
Before issuing these commands, execute a device clear to reset the interface and
the instrument. 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
2 Issue the following commands:
Keysight 53147A/148A/149A Operating and Programming Guide
card documentation for information on how to issue this command.)
*RST
*CLS
*SRE 0
*ESE 0
:STAT:PRES
Programming
3
195