EasyManua.ls Logo

Keithley 6482 - OPC? - Operation Complete Query; OPT? - Option Query; SAV <Nrf> - Save Setup; RCL <Nrf> - Recall Setup

Keithley 6482
350 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6482-901-01 Rev. A / August 2012 Return to Section Topics 14-3
Model 6482 Dual-Channel Picoammeter / Voltage Source Reference Manual Section 14: Common Commands
*OPC? — Operation complete query
This command places a “1” in output queue. When *OPC is sent, the OPC bit in the standard event
register will set after all pending command 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 the idle state so it can perform measurements.
While operating within the trigger model layers, all sent commands (except DCL, SDC, IFC,
SYSTem:PRESet, *RST, *RCL, *TRG, GET, and ABORt) will not execute.
After all programmed operations are completed, the instrument returns to the idle state and then
executes all pending commands (including *OPC and *OPC?). After the last pending command is
executed, the OPC bit and/or an ASCII “1” is placed in the output queue.
*OPC programming example
The command sequence in Table 14-2 will perform 10 measurements. After the measurements
are completed (in approximately 10 seconds), an ASCII “1” will be placed in the output queue and
displayed on the computer. Note that additional codes must be added to query the instrument for
the presence of the ASCII “1” in the output queue.
*OPT? — Option query
This command returns a list of installed options. When *OPT? is sent, the Model 6482 returns a list
of any installed options.
*SAV <NRf> — Save setup
This command saves the present setup in memory.
Parameters 0 = Memory location 0
1 = Memory location 1
2 = Memory location 2
3 = Memory location 3
4 = Memory location 4
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. See *RCL <NRf> —
Recall setup for additional details.
*RCL <NRf> — Recall setup
The *RCL command is used to restore the instrument to a saved setup configuration. Five setup
configurations can be saved and recalled.
Table 14-2
*OPC programming example
Command Description
*RST
:TRIG:DEL 1
:ARM:COUN 10
:OUTP1 ON
:INIT
*OPC?
Return the Model 6482 to GPIB defaults (idle).
Set trigger delay for 1 second.
Program for to take 10 measurements and then stop.
Turn on the output.
Start taking measurements.
Send *OPC? to query the output queue. Additional code
required to test for “1” in output queue.

Table of Contents

Related product manuals