Example 1: Reading Statistic
Purpose: To achieve the maximum statistic.
In maximum statistic calculation, the first reading is regarded as the maximum. If
continuing measuring, the multimeter is updating the readings. The multimeter will
give a beep (the beeper must be on) when catching the maximum.
The programming steps——RIGOL Commands:
0 *RST /*Reset the instrument for preparing measurement*/
1 cmdset□rigol /*Select RIGOL commands*/
2 *IDN? /*Query equipment ID to confirm if the instrument
works normally*/
3 /*Return: RIGOL Technoligies, DM3058, DM3A020080808, 99.00.00.00.00.00*/
4 :function:voltage:DC /*Enable DC voltage measuring function*/
5 :measure□AUTO /*Select automatic measurement*/
6 :calculate:function□max /*Enable maximum statistic calculation function*/
7 :calculate:statistic:max? /*Query the measured maximum DC voltage*/
8 /*Return: 5.000064e-02*/
9 :calculate:statistic:count? /*Query the measured times*/
10 /*Return: 252*/
11 :calculate:function□none /*Exit math operation function*/
Remarks:
1. Command line 7 returns current maximum DC voltage.
2. Command line 9 returns the measured times.
3. Command line 11 exits math operation function.