Rigol DM3058 Manual do Utilizador Página 182

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 192
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 181
RIGOL
Programming Guide for DM3058/DM3058E
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 valuein line 7, the measured result of
dB will be shown on the screen, but the result can not be returned since there is
Vista de página 181
1 2 ... 177 178 179 180 181 182 183 184 185 186 187 ... 191 192

Comentários a estes Manuais

Sem comentários