Rigol MSO1074Z-S 4-channel oscilloscope, Digital Storage oscilloscope, MSO1074Z-S Benutzerhandbuch
Produktcode
MSO1074Z-S
RIGOL
DS1000Z Programming Guide
2-33
*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 between 0 and 255.
*IDN?
Syntax
*IDN?
Description
Query the ID character string of the instrument.
Return
Format
The query returns the ID character string of the instrument, such as RIGOL
TECHNOLOGIES,DS1104Z,DS1T00000006,00.02.00.
*OPC
Syntax
*OPC?
*OPC
*OPC
Description
The *OPC? command is used to query whether the current operation is finished. The *OPC
command is used to set the Operation Complete bit (bit 0) in the standard event status
register to 1 after the current operation is finished.
Return
Format
The query returns 1 if the current operation is finished; otherwise, returns 0.
*RST
Syntax
*RST
Description
Restore the instrument to the default values.
*SRE
Syntax
*SRE <value>
*SRE?
*SRE?
Description
Set or query
the enable register for the state byte register set.
Parameter
Name
Type
Range
Default
<value>
Integer
0~255
0
Explanation
The bit 0 and bit 1 of the status byte register are not used and are always treated as 0,
therefore, the range of <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 0 and bit 1 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.
Example
*SRE 16 /*Enable the bit 4 (16 in decimal) of the status byte register*/
*SRE? /*The query returns 16*/