Rigol DM3058 Digital-Multimeter, DMM, DM3058 数据表

产品代码
DM3058
下载
页码 192
RIGOL 
 
 
Programming Guide for DM3058/DM3058E 
6-2 
Example 1: Reading Statistic 
 
Purpose: 
To implement the maximum statistic through commands. 
When the maximum statistic is enabled, the first reading is regarded as the maximum 
shown, and then, this value is updating continuously along with readings measured 
until the maximum value is captured, please perform with following procedures step 
by step: 
 
The programming implementations——  RIGOL Commands 
0    *RST   
 
 
 
 
/* Reset the instrument*/ 
1    cmdset rigol                  /* Select RIGOL commands */ 
2    *IDN?  /*  Query  the  equipment ID  and  confirm  if  the multimeter  works 
normally */ 
3 
/*Return Format:RIGOL 
Technologies, 
DM3058, 
DM3A020080808, 
99.00.00.00.00.00*/ 
4    :function:voltage:DC   
 
/* Enable the DC voltage measurement */ 
5    :measure AUTO  
 
    /* Select Auto measurement */ 
6    :calculate:function max   
/* Enable the maximum statistic */ 
7    :calculate:statistic:max?   
/* Query the current maximum of DC voltage */ 
8     /*Return Format:5.000064e-02*/ 
9    :calculate:statistic:count? /* Query the current times of Auto measurement*/ 
10    /*Return Format:252*/ 
11    :calculate:function none    /* Exit the math function */ 
 
Explanations: 
1.  The returned value in line 7 is the current maximum DC voltage. 
2.  The returned value in line 9 is the measured times that have been completed.