12-4 Common Commands Model 2701 User’s Manual
The returned value of 0 denotes that the bit (bit 0) is not set indicating that the :INITiate
operation is not complete.
ABORt ' Aborts operation. Places 2701 in idle.
*ESR? ' Reads the Standard Event Status Register.
The returned value of 1 denotes that the bit (bit 1) is set indicating that the :INITiate
operation is now complete.
SYST:PRES ' Returns 2701 to default setup.
NOTE The following commands take a long time to process and may benefit from using
*OPC or *OPC?:
• *RST and SYST:PRES
• *RCL and *SAV
• ROUT:MULT:CLOS and ROUT:MULT:OPEN – Only if the <clist> is long.
• CALC2:IMM and CALC2:IMM?– Only when performing the standard
deviation calculation on a large buffer. A 450,000 point buffer takes around
5 to 6 seconds.
NOTE A programming example in Section 11 (Example 3 located after Table 11-6)
shows how to use *OPC to determine when a measure-store process is finished.
C *OPC? Operation Complete Query Place a ‘1’ in the output queue after
all pending operations are completed
Description
When this common command is sent, an ASCII “1” will be placed in the Output Queue
after the last pending operation is completed. The “1” in the Output Queue will be sent to
the computer.
The “1” in the Output Queue will set the MAV (Message Available) bit (B4) of the Status
Byte Register. If the corresponding bit (B4) in the Service Request Enable Register is set,
the RQS/MSS (Request for Service/Master Summary Status) bit in the Status Byte
Register will set.
When used with the Initiate Immediately command (:INITiate), a “1” will not be placed
into the Output Queue until the Model 2701 goes back into the idle state. The :INIT
command operation is not considered finished until the Model 2701 goes back into the idle
state. See the description for *WAI for more information on command execution.
The execution of OPC? is not completed until it has placed the “1” in the Output Queue.