Esr; Idn; Opc; Rst - Rigol DS1000Z Series Programming Manual

Digital oscilloscope
Hide thumbs Also See for DS1000Z Series:
Table of Contents

Advertisement

RIGOL

*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
The query returns an integer between 0 and 255.
Format

*IDN?

Syntax
*IDN?
Description
Query the ID string of the instrument.
Return
The query returns the ID string of the instrument, such as RIGOL
Format
TECHNOLOGIES,DS1104Z,DS1T00000006,00.02.00.

*OPC

Syntax
*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
The query returns 1 if the current operation is finished; otherwise, returns 0.
Format

*RST

Syntax
*RST
Description
Restore the instrument to the default state.

*SRE

Syntax
*SRE <value>
*SRE?
Description
Set or query the enable register for the status byte register set.
Parameter
Name
<value>
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
The query returns an integer which equals the sum of the weights of all the bits that
Format
have already been set in the register.
Example
*SRE 16
*SRE?
2-34
Type
Range
Integer
0 to 255
/*Enable the bit 4 (16 in decimal) of the status byte register*/
/*The query returns 16*/
Chapter 2 Command System
Default
0
DS1000Z Programming Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ds1104zDs1074zDs1104z-sDs1074z-s

Table of Contents