Model 2701 User’s Manual
Common Commands
12-5
Programming example – The following command sequence demonstrates how to use
*OPC? to signal the end of a measurement process:
SYST:PRES
' Returns 2701 to default setup.
INIT:CONT OFF
' Disables continuous initiation.
ABORt
' Aborts operation. Places 2701 in idle.
TRIG:COUN 1
' These two commands configure the 2701
SAMP:COUN 5
' to perform five measurements.
INIT
' Starts measurement process.
*OPC?
' Sends OPC? command.
After all five measurements are performed and the instrument returns to the idle state, an
ASCII ‘1’ will be placed in the Output Queue. The ‘1’ from the Output Queue is sent to
the computer.
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.
D *OPT? — option query
Query installed switching modules
Use this query command to determine which switching modules are installed in the
Model 2701. For example, if a Model 7703 is installed in slot 1 and the other slot is empty,
the response message will look like this:
7703, NONE
Note that the model number of an installed pseudocard is returned in the same manner. See
Section 2 for details on pseudocards.
2701-900-01.book Page 5 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...