RIGOL DM3058 User Manual

Page 181

Advertising
background image

RIGOL

Programming Guide for DM3058/DM3058E

6-8

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 meas:res? auto /* Enable the resistance measurement, auto
range; and return the measured value */
4 /* The returned value is used as the reference resistance for dBm measurement
*/
5 conf:volt:ac auto /* Enable AC voltage measuring function and use
auto range */
6 calc:stat on

/* Enable math operation function */

7 calc:func dbm /* Set the dBm measurement */
8 calc:dbm:ref <value> /* Set the reference voltage */
9 calc:dbm:ref?

/* Query the measured result */

10 /* return value */

Explanations:
1. The instrument should be connected under resistance mode before sending the

command in line 3.

2. The command parameter in line 9 is the return value of line 3.

Advertising
This manual is related to the following products: