24 Return: Query Unterminated
25 *esr?
26 Return: 4
27 *cls
28 :function:diode
29 :calculate:statistic:min? /*Beep to alarm*/
30 SYST:ERR?
31 Return: setting unacceptable
32 *esr?
33 Return: 8
Remarks:
1. Line 2, 9, 15, 21 and 27 clear current status (the value of the event status register
and the error queue) of the status register. Sending the ―*cls‖ command before a
new command which is used to query the status register can clear then the
interferences existing in the register.
2. When running line 4, 10, 16, 22 and 29 command, the beeper will alarm the
current operation is error.
3. Use the ―SYST:ERR?‖ command to query current error information.
4. Use the ―*esr?‖ command to query the error information type (See Figure 2-1).
5. The data returned in line 4 will cover the data returned in the last time and
generate a ―query interrupted‖ error. It is a query error.
6. For line 10, when run the ―*cls‖ command, a ―*‖ character before the command
may cause a ―synax error‖ error. It is a syntax error.
7. For line 16, the parameters should be {RIGOL|AGILENT|FLUKE}, ―abc‖ is invalid,
so a ―illegal parameter‖ error generates. It is a execution error.
8. For line 22, the setting command has no data returned, if read data forcibly, a
―Query Unterminated‖ error information will generate. It is a query error.
9. Line 29 query the minimum value of the statistical data, it can not be used in
continuity testing and diode measurement. Therefore, the setting is wrong, it
cause the instrument can not run continuously and a ―setting unacceptable‖ error
generates. It is a device error.