Specifications

RIGOL Chapter 2 Command System
2-58 M300 Programming Guide
*ESR?
Syntax
*ESR?
Description
Query the event register of the Standard Event Register set.
Explanation The corresponding bits in the event register must be enabled using the *ESE
command. This command queries cand clears the event registerof the Standard
Event Register set.
The definition of each bit in the Standard Event Register is as shown in the table
below. Wherein, bit1 and bit6 are not used and are always regarded as 0. Therefore,
the range of <enable_val> are the decimal numbers corresponding to the binary
numbers ranging from 00000000 (0 in decimal) to 11111111 (255 in decimal) and of
which bit1 and bit6 are 0.
Bit
Weight
Name
Explanation
7
128
Power On
Power has been turned off and on since the last
time the event register was read or cleared.
6
Not
Used
Not Used
Always be 0.
5
32
Command
Error
A command error occurred.
4
16
Execution
Error
An execution error occurred.
3
8
Device Error
A device-specific error has been generated.
2
4
Query Error
A query error has been generated. In the following
situations, query errors will be generated:
the instrument tried to read the output buffer but it
was empty; a new command line was received
before a previous query has been read; both the
input and output buffers are full.
1
Not
Used
Not Used
Always be 0.
0
1
Operation
Complete
All the commands prior to and including the *OPC
command have been executed.
Return
Format
The query returns an integer that corresponds to the binary-weighted sum of all bits set in
the register. For example, if bit 4 (decimal value = 16) and bit 7 (decimal value = 128) are
enabled, the query will return 144.
Related
commands
*CLS
*ESE
*IDN?
Syntax
*IDN?
Description Query the ID string of the instrument (including the manufacturer name, model and
version number).
Return
Format
The query returns the ID string in the form of RIGOL TECHNOLOGIES,M300,<serial
number>,XX.XX.XX.XX.XX.XX.XX
Wherein, <serial number> represents the instrument serial number,
XX.XX.XX.XX.XX.XX.XX represents the instrument software version number.
Example *IDN?
The query returns RIGOL TECHNOLOGIES,M300,M300123123123,07.08.00.01.00.00.17.