Instructions

Chapter 2 Command System RIGOL
DG2000 Programming Guide 2-23
If you have configured the instrument by using the *PSC 1 command, the enable register of the
standard event register will be cleared at the next power-on of the instrument. If you have configured
the instrument by using the
*PSC 0 command, the enable register of the standard event register will
not be cleared at the next power-on of the instrument.
Return Format
The query returns a decimal value that corresponds to the binary-weighted sum of the bits enabled in the
standard event register.
*ESR?
Syntax
*ESR?
Description
Queries the event register of the standard event register.
Remarks
The event register of the standard event register is read-only. Its bits are latched and the event register will
be cleared when you query the register. Once a bit is set, the later occurred events corresponding to that bit
will be ignored until the register is cleared by the query command or the
*CLS command (used to clear the
status).
Return Format
The query returns a decimal value corresponding to the binary-weighted sum of all the bits in the event
register of the standard event register.
*IDN?
Syntax
*IDN?
Description
Queries the ID string of the instrument.
Return Format
The query returns the ID string of the instrument. The returned value consists of 4 parts separated by
commas. For example, Rigol Technologies,DG2102,DG20000000001,01.00.01; wherein, the first part is the
manufacturer name, the second part is the instrument model, the third part is the instrument serial number,
and the forth part is the version number.
*OPC
Syntax
*OPC
*OPC?
Description
Sets the OPC (operation complete) bit in the standard event register to 1 after all the previous commands
are executed.
Queries whether all the previous commands that have been sent are executed. If yes, the query returns 1
to the output buffer.