Instructions

Chapter 2 Command Systems for GPSA and RTSA Modes RIGOL
RSA3000E Programming Guide 2-83
*ESR?
Syntax
*ESR?
Description
Queries and clears the event register for the standard event status register.
Remarks
Bit 1 and bit 6 in the standard event status register are not in use, and are regarded as 0. The query returns
a decimal value that corresponds to the binary values ranging from 00000000 (0 in decimal) to 11111111
(255 in decimal) and of which bit 1 and bit 6 are 0.
Return Format
The query returns an integer. The integer equals to the binary-weighted sum of all the bits set in the
register. For example, the query returns 144 if bit 4 (16 in decimal) and bit 7 (128 in decimal) are enabled.
Example
The following query returns 24 (bit 3 and bit 4 have been set).
*ESR?
*IDN?
Syntax
*IDN?
Description
Queries the ID string of the instrument.
Return Format
The query returns the ID string in the following format:
Rigol Technologies,<model>,<serial number>,XX.XX.XX
<model>: instrument model
<serial number>: serial number of the instrument
XX.XX.XX: software version of the instrument
Example
The following query returns Rigol Technologies,RSA3030E,RSA3A200100001,00.01.00.
*IDN?