Chapter 2 Command System RIGOL
DL3000 Programming Guide 2-5
*OPC
Syntax *OPC
Description After you run the command, Bit 0 (operation complete bit) in the event register part of the
standard event status register is set to 1.
Queries whether the *OPC command has been executed. If yes, it returns "1" in the output
Remarks "Operation complete" indicates that all pending operations were completed following
the execution of the *OPC command.
Sending the query command *OPC? and reading the results can ensure that all the
commands can be executed one by one.
When configuring the instrument by programming commands (executing a series of
command), running the command as the last one can determine when the command
queue can all be executed. After all the commands in a queue have been executed,
Bit 0 (OPC, operation complete bit) in the event register part of the standard event
status register will be set to 1.
If you first run the query command (querying data of the output buffer) and then
send the *OPC command, you can determine when the data is available through the
Return
Returns 1.
Example
*OPC /*After you run the command, Bit 0 (operation complete bit) in the event
register part of the standard event status register is set to 1.*/
*OPC? /*Queries whether the current operation is finished. The command returns 1.*/
*OPT?
Queries the installation status of the option.
Remarks The options include high slew rate, high frequency, high readback resolution, LAN,
and Digital I/O.
For DL3021A and DL3031A, they have been installed with the above five options
when leaving the factory. For DL3021 and DL3031, if you need any of the options,
please purchase the desired option and install it properly (:LIC:SET).
Return
Returns the installation status of the option. Different options are separated by commas. If
the option has been installed, it returns the name of the option; if not, it returns 0.