Rigol DM3058E Digital-Multimeter, DMM, DM3058E Hoja De Datos

Los códigos de productos
DM3058E
Descargar
Página de 192
RIGOL 
Programming Guide for DM3058/DM3058E 
 
                                        
6-11 
Example 5: P/F Testing 
 
Purpose: 
Use commands to perform a P/F test. 
P/F operation prompts for the over range voltage signal according to upper/lower 
limits, and gives a beep (if the beeper is open). 
 
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 for DC voltage measurement */ 
4    :function:voltage:DC  
          /* Enable the DC voltage measurement */ 
5    :measure:voltage:DC <range>    /* Set the measurement range */ 
6    :calculate:pf:lower <value1>    /* Set the lower limit to value1*/ 
7    :calculate:pf:upper <value2>    /* Set the upper limit to value2*/ 
8    :calculate:function pf           /* Enable the pf operation */ 
9    :calculate:pf?   
 
 
      /* Query the measurement result */ 
10      /* Returned value */ 
11   :calculate:function none          /* Exit calculation function */ 
 
 
Explanations: 
1.  The instrument should be connected under DC voltage mode before sending the 
command in line 4. 
2.  Parameters in line 6 and 7 should be: value2 > value1, and both are within the 
range. 
3.  The command in line 9 returns “PASS” if the input voltage is within the scope of 
the upper and lower limits, or returns “FAIL” and a beeper is emitted if it is on.