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.
2701-900-01.book Page 4 Wednesday, August 3, 2011 9:43 AM
Summary of Contents for 2701
Page 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...