RIGOL DM3058 User Manual
Page 185

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
/* Set the DC voltage measuring function and the
range */
5 calc:stat on /* Enable the math function */
6 calc:lim:low
7 calc:lim:upp
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.