Chapter 2 Command Systems
RIGOL
Programming Guide for DSA1000A series
2-3
1.
*CLS
Syntax
*CLS
Function
Clears all event registers and the error queue as well as the input
queue.
2.
*ESE
Syntax
*ESE <value>
*ESE?
Function
Sets the enable value of a standard event, such as
*ESE 0
The query returns “0”*.
Explanations
Bit 1 and bit 6 are not used in the Standard Event Register and
always regarded as “0”, thereinto <value> is a decimal number that
relates to any binary number whose bits of 6 and 1 are both 0
within 00000000 (0) and 11111111 (255).
*Remark: Double quotation marks would‟t be returned after a query unless where noted in this
manual.
3.
*ESR?
Syntax
*ESR?
Function
Queries the standard event status register.
The query returns a decimal number that relates to any binary
number whose bits of 6 and 1 are both 0 within 00000000 (0) and
11111111 (255).
4.
*IDN?
Syntax
*IDN?
Function
Queries the instrument ID and returns a string with the length at
least 35 characters.
5.
*OPC
Syntax
*OPC
*OPC?
Function
*OPC: sets the “Operation Complete” (bit 0) of the standard event
status register to “1” after the current operation.
*OPC?: queries if the current operation has been finished or not,
and returns “1” if successful; otherwise returns “0”.
Summary of Contents for DSA1000A Series
Page 1: ...RIGOL Programming Guide DSA1000A Series Spectrum Analyzer May 2011 RIGOL Technologies Inc...
Page 2: ......
Page 14: ......
Page 137: ...Chapter 3 Programming Examples RIGOL Programming Guide for DSA1000A series 3 3...
Page 154: ...RIGOL Chapter 3 Programming Examples Programming Guide for DSA1000A series 3 20 6 Exit code...
Page 158: ...RIGOL Chapter 3 Programming Examples Programming Guide for DSA1000A series 3 24...