Esr? -3, Idn? -3, Opt? -3 – RIGOL DSG3000 Series User Manual
Page 23: Psc -3

RIGOL
DSG3000 Programming Guide
2-3
*ESR?
Syntax
*ESR?
Description
Query and clear the event register for the standard event status register.
Explanation
The bit 1 and bit 6 of the standard event status register are not used and are always
treated as 0. The range of the return value are the decimal numbers corresponding to
the binary numbers ranging from 00000000 (0 in decimal) to 11111111 (255 in
decimal) and of which the bit 1 and bit 6 are 0.
Return Format
The query returns an integer which equals the sum of the weights of all the bits that
have already been set in the register.
*IDN?
Syntax
*IDN?
Description
Query the ID string of the instrument.
Return Format
The query returns the ID string of the instrument, for example, Rigol
Technologies,DSG3060,DSG3A1301080006,00.01.01.
*OPT?
Syntax
*OPT?
Description
Query the option information of the instrument.
Explanation
The maximum length of the returned string is 255 characters.
Return Format
The query returns the option list: the option strings are separated by ",". For example,
PUG,PMC,
The query returns 0: no option is installed.
*PSC
Syntax
*PSC
*PSC?
Description
Retain or reset the settings of the status register
Query the "power-on-status-clear" flag of the status register.
Parameter
Name
Type
Range
Default
Bool
0|1
NULL
Explanation
If
If
Return Format
The query returns 1 or 0.