User manual
RIGOL Chapter 2 Command System
2-24 DG800 Programming Guide
Remarks
"operation complete" refers to that all the previous commands that have been sent, including the *OPC
command, are executed completely.
You can also use the *OPC (operation complete) or *OPC? (operation complete query) command to set
the system to output a signal when finishing the sweep or burst. The *OPC command sets the OPC
(operation complete) bit in the standard event register to 1 after all the previous commands that have
been sent are executed. When the bus is used to trigger the sweep or burst, the system can execute
other commands before this bit is set to 1. The *OPC? command returns 1 to the output buffer after all
the previous commands that have been sent are executed and the system cannot execute any other
command before completing executing this command.
Sending the *OPC? command (query command) and reading the result can ensure synchronization.
When setting the instrument by programming (by executing command strings), taking the *OPC
command as the last command of the command queue can determine when the command queue is
completed (the OPC (operation complete) bit in the standard event register is set to 1 after the
command queue is completed).
Return Format
The query returns 1 or 0.
Example
*OPC /*Configures the instrument to set the OPC (operation complete) bit in the standard
event register to 1 after all the previous commands that have been sent are
executed.*/
*OPC? /*Queries whether all the previous commands that have been sent are executed. If
yes, the query returns 1 to the output buffer.*/
*OPT?
Syntax
*OPT?
Description
Queries the installation state of the option.
Remarks
The option includes the single-dual channel upgrade option (DG800-DCH) and memory depth upgrade
option (DG800-ARB8M).
If you need to use optional functions, please purchase the appropriate option and install it properly.
Return Format
The query returns the installation state of the option. Different options are separated by a comma. If the
option is installed, the query returns the name of the option; If not installed, the query returns 0.
Example
*OPT? /*Queries the installation state of the option. The query returns 0,DCH.*/