RIGOL DM3058 User Manual

Page 185

Advertising
background image

RIGOL

Programming Guide for DM3058/DM3058E

6-12

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 DC voltage measurement */
4 conf:volt:dc <range>

/* Set the DC voltage measuring function and the

range */
5 calc:stat on /* Enable the math function */
6 calc:lim:low <value1> /* Set the lower limit to value1*/
7 calc:lim:upp <value2> /* Set the upper limit to value2*/
8 calc:func lim /* Enable the limit operation */
9 calc:stat OFF /* Exit math 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. Command in line 8 enables limit operation without return value, as no

corresponding command is provided in this system. If the parameter input is not
within the scope of the upper and lower limits, a beep tone will be emitted ( when
the beeper is on).

4. Use RIGOL commands if both the P/F measurement function and returned value

are required.

Advertising
This manual is related to the following products: