RIGOL DM3058 User Manual

Page 191

Advertising
background image

RIGOL

Programming Guide for DM3058/DM3058E

6-18


25 Return 4

26 *cls
27 :function:diode
28 :calculate:statistic:min?

/*Beeping*/

29 SYST:ERR?
30 Return “setting unacceptable”
31 *esr?
32 Return 8


Explanations:
1. Commands in line 2, 9, 15, 21 and 26 clear the current status of the status

register, the value of the event status register and the error queue. Execute “*cls”
every time when you input new command for quering the register status, in order
to suppress interference by information existed in register.

2. Commands in line 4, 10, 16, 22, 28 wigh beeping indicate the wrong operation.
3. SYST:ERR? is used to query the current error information.
4. *esr? is for query the error type, refer to Figure 2-1.
5. For line 4, the data returnedl covers the data in the last time and generate a

“query interrupted” error. It is a query error.

6. For line 10, the character “*”

attached before the command may cause a “synax

error” error. It is a command error.

7. For line 16, the parameters should only be {RIGOL|AGILENT|FLUKE}, so null

parameter is invalid, a “Parameter error” is generated. It is an execution error.

8. For line 22, the command has no data returned. If read the data forcibly, a “Query

Unterminated” error will generate. It is a query error.

9. The command in line 28 queries the calculated minimum value, it should not be

used in continuity test and diode measurement. Therefore, this command is
wrong and which may disable the instrument and generate a “setting
unacceptable” error. It is a device error.




Advertising
This manual is related to the following products: