Common Commands 14-3
B) OPC — operation complete Sets OPC bit
OPC? — operation complete query Places a “1” in output queue
When *OPC is sent, the OPC bit in the standard event register will set after all pending com-
mand operations are complete. When *OPC? is sent, an ASCII “1” is placed in the output queue
after all pending command operations are complete.
Typically, either one of these commands is sent after the INITiate command. The INITiate
command is used to take the instrument out of idle in order to perform measurements. While
operating within the trigger model layers, all sent commands (except DCL, SDC, IFC,
SYSTem:PRESet, *RST, GET and ABORt) will not execute.
After all programmed operations are completed, the instrument returns to the idle state at
which time all pending commands (including *OPC and/or *OPC?) are executed. After the last
pending command is executed, the OPC bit and/or an ASCII “1” is placed in the output queue.
Programming example — The following command sequence will perform 10 measure-
ments. After the measurements are completed (in approximately 10 seconds), an ASCII “1” will
be placed in the output queue.
*RST ‘ Return 6514 to RST defaults (idle).
TRIG:DEL 1 ‘ Set trigger delay for 1 second.
ARM:COUN 10 ‘ Program for 5 measurements and stop.
INIT ‘ Start measurements.
*OPC? ‘ Send *OPC?.
C) SAV <NRf> — save Save present setup in memory
RCL <NRf> — recall Return to setup stored in memory
Parameters 0= Memory location 0
1=Memory location 1
2=Memory location 2
Use the *SAV command to save the present instrument setup configuration in memory for
later recall. Any control affected by *RST can be saved by the *SAV command. The *RCL com-
mand is used to restore the instrument to the saved setup configuration. Three setup configura-
tions can be saved and recalled.
Model 6514 ships from the factory with SYSTem:PRESet defaults loaded into the available
setup memory. If a recall error occurs, the setup memory defaults to the SYSTem:PRESet
values.
Programming example:
*SAV 2 ‘ Save present setup in memory location 2.
*RST ‘ Set 6514 to RST defaults.
*RCL 2 ‘ Return (recall) 6514 to setup stored in
memory location 2.
D) RST — reset Return Model 6514 to RST defaults
When the *RST command is sent, Model 6514 performs the following operations:
1. Returns Model 6514 to the RST default conditions (see “Default” column of SCPI
tables).
2. Cancels all pending commands.
3. Cancels response to any previously received *OPC and *OPC? commands.