
12-4
Common Commands
Model 2520 User’s Manual
*OPC programming example
will perform 10 measurements. After the measure-
ments are completed (in approximately 10 seconds), an ASCII “1” will be placed in the
Output Queue and displayed on the computer CRT. 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
Return list of installed options
When *OPT? is sent, Model 2520 returns a list of any installed options.
*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
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. The *RCL
command is used to restore the instrument to the saved setup configuration. Five setup
configurations can be saved and recalled.
The Model 2520 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.
Table 12-2
*OPC programming example
Command
Description
*RST
:TRIG:COUN 10
:OUTP1 ON
:INIT
*OPC?
Return Model 2520 to GPIB defaults (idle).
Program for 10 measurements and stop.
Turn on output.
Start measurements.
Send *OPC? to query Output Queue.*
* Additional code required to test for “1” in Output Queue.
Summary of Contents for 2520
Page 250: ...A Specifications ...
Page 254: ...B StatusandErrorMessages ...
Page 262: ...C DataFlow ...
Page 266: ...D IEEE 488BusOverview ...
Page 281: ...E IEEE 488andSCPI ConformanceInformation ...
Page 285: ...F MeasurementConsiderations ...
Page 308: ...G GPIB488 1Protocol ...
Page 312: ...H ExamplePrograms ...
Page 317: ...I ContinuousPulseMode ...