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

产品代码
DM3058E
下载
页码 192
RIGOL 
Programming Guide for DM3058/DM3058E 
 
                                        
6-9 
Example 4: dB Measurement 
 
Purpose: 
Use commands to perform dB measurement. 
dB is a common measurement unit, which is frequently used in electrician, wireless, 
mechanics, oscillatory surge, mechanical power, acoustics and some other fields.   
 
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     /* Connect the test leads under AC voltage measurement */ 
4    :function:voltage:AC  
          /* Enable the AC voltage measurement */ 
5    :measure:voltage:AC <range>        /* Set the measuring range */ 
6    :calculate:function DB            /* Enable dB measurement */ 
7    :calculate:DB:reference <value>    /* Set the “dB setting” value */ 
8    :calculate:DB?   
 
 
     /* Query the measured value */ 
9        /* Return value */ 
 
 
The programming implementations
——Agilent Commands 
0    *CLS   
 
 
 
 
/* Clear the instrument state */ 
1    cmdset agilent             /* Select Agilent commands */ 
2    *IDN?   
 
 
 
 
/*  Query the equipment ID and confirm if the 
multimeter works normally */ 
3     /* Connect the test leads for AC voltage measuring */ 
4    conf:volt:ac <range>     /* Enable the AC voltage measurement and set the 
range */ 
5    calc:stat on                /* Enable the math function */ 
6    calc:func db                /* Enable the dB measurement*/ 
7    calc:db:ref <value>           /* Set the “dB setting” value */ 
8    calc:db:ref?                  /* Query the measured value */ 
9        /* Return value */ 
 
Explanations: 
1.  When finish the setting of “dB reference value” in line 7, the measured result of 
dB will be shown on the screen, but the result can not be returned since there is