This manual provides the guidance for remote control programming of DM3000 series
digital multimeters. Users can carry on remote control to a multimeter or do the
further development according to this manual. We believe that this manual’s readers
have read the detailed RIGOL DM3000 series multimeter user guide, and been
familiar with the RIGOL DM3000 series multimeter’s operation.
The manual contains four chapters:
Chapter 1
Generalize the methods of using commands;
Chapter 2
Introduce the detailed commands according to the functions of RIGOL DM3000
series digital multimeter;
Chapter 3
List other commands that the RIGOL DM3000 series digital multimeter are
compatible with;
Chapter 4
The application examples of the RIGOL DM3000 series digital multimeter commands.
Index lists all the commands of the RIGOL DM3000 series digital multimeter, and
makes it easier for users to quickly find.
This chapter provides the guidance for user to use a RIGOL DM3000 series digital
multimeter for remote control programming correctly, and to achieve a long-distance
measuring operation.
This part intrduces the basic programming operations.These programming commands
provide the methods for remote control to a multimeter.
The Basic operations that you can do with a computer and a multimeter include:
Setup a multimeter.
Measure.
Receive data (equipment working condition or measurement results) from a
multimeter.
A computer can communicate with a multimeter by sending and receiving messages
over an I/O port, such as USB, GPIB port or a RS-232 port. The commands appear as
ASCII strings embedded inside the output statements of a “host” language available
on your computer, so users can control and do the secondary development. Please
refer to the user guide about the connection methods of communication interface.
Commands usually begin with a colon (:). A colon (:) is used to separate a command
keyword from a lower-level keyword. It shows the operation that a multimeter will
implement.
2. Blank Space □
A Blank space is used to separate commands from the program data. If your
command does not need any program data, the blank space is not needed.
3. Interrogation ?
A query is formed by adding an interrogation (?) to the end of the commands. The
query commands usually include different data, and both of them usually divided by a
space □. But some commands don’t include data.
4. Braces { }
When several elements separated by a vertical line (|) are enclosed by braces, { },
only one element may be selected. For example, {ON | OFF} indicates that only ON or
OFF may be selected, not both.
5. Triangle Brackets < >
A item enclosed in < > should be replaced by a numerical value or character string.
The parameters can be any integer only in effective range. Note that do not set the
parameters for decimal format, or else abnormal. For example, setting screen
brightness command ": system: display: bright", the parameter range is from 0 to
255.
2. Consecutive Real Number Parameter
In effective value range, the parameters can be random value according to precision
(usually the default precision takes six effective digits behind decimal point). For
example, setting NULL offset command ": calculate: NULL: offset", the parameters
meet the range of the real number Table 2- 12 indicated.
3. Discrete Parameters
The parameters can only be the cited value. For example, setting AC voltage measure
range command ": measure: voltage: AC", the parameter can only be 0, 1, 2 or 3,
but not other values.
4. Boolean Parameters
The parameters can only be ON or OFF. For example, setting beeper state command
“:system:beeper:state”, the parameter can only be ON or OFF.
5. ASCII Character string
The parameter should be composed of ASCII character string. For example, setting
date command ":system:clock:date”, the parameter can be a character string of
date format.
In RIGOL DM3000 series digital multimeter commands, all the command parameters
and the returned values are ASCII characters. All the commands do not distinguish the
letter size.
RIGOL DM3000 series digital multimeter includes the following commands
subsystems:
The command queries the kinds of measure functions.
Return Format:
The query returns the current DM3000 measure function’s shortening. The possible
returned values are: DCV, ACV, DCI, ACI, RESISTANCE, CAPACITANCE, CONTINUITY,
FRESISTANCE, DIODE, FREQUENCY, PERIOD, RATIO.
2. :function:voltage:DC:ratio
Syntax:
:function:voltage:DC:ratio
Function:
The command turns on DC voltage ratio measure function.
Remark:In “:function?” , this function is corresponding to the returned value“ RATIO”.
3. :function:voltage:DC
Syntax:
:function:voltage:DC
Function:
The command turns on DC voltage measure function.
Remark:In “:function?” , this function is corresponding to the returned value“ DCV”.
The command sets the measure range of DC voltage and resolution.
Parameters:
Explanations:
To set the DC voltage range and the resolution at the same time.
The measure mode will be changed into manual when setting range
Table 2- 1 incdicates the parameters and the resolutions.
Table 2- 1 The DC voltage range and the resolution
Examples:
To set the DC voltage range as 200.0V.
:measure:voltage:DC□3
To set the DC voltage range as minimum.
:measure:voltage:DC□MIN or :measure:voltage:DC□0
:measure:voltage:DC:digit? queries the digit of the DC voltage.
:measure:voltage:DC:digit□{INC|DEC|5|6|7} set the digit of DC voltage.
Remarks: If the showing digit reachs 5, DEC command will be invalid. If 7,INC
invalid.
The table 2-2 indicates the meanings of the digit.
Table 2- 2 The meanings of the digit
Return Format:
:measure:voltage:DC:digit? returns the current digit: 5、6 or 7.
Examples:
To set the digit of the DC voltage as 7:
:measure:voltage:DC:digit□7
To decease the digit to 5, please send the following command two times:
:measure:voltage:DC:digit□DEC
8. :measure:voltage:DC:ratio
Syntax:
:measure:voltage:DC:ratio?
Function:
The command queries the ratio of DC voltages in two circuits.
Remark:At the same time the DC voltages in two circuits should be input in the multimeter.
Return Format:
The query returns the current ratio in the form of 4.656613e-05(for example).
The command queryies and sets the digit of the ratio of DC voltages in two circuits.
Explanations:
:measure:voltage:DC:ratio:digit? queries the digit of the ratio of the DC voltages in
two circuits.
:measure:voltage:DC:ratio:digit□
<value>
sets the digit of the ratio of the DC
voltages in two circuits.
The Table 2- 2 indicates the parameters and their meanings.
Remarks: If the showing digit reachs 5, DEC command will be invalid. If 7,INC
invalid.
Return Format:
:measure:voltage:DC:ratio:digit? returns the current digit: 5、6 or 7.
Examples:
To set the digit of the ratio as 6:
:measure:voltage:DC:ratio:digit□6
To increase the digit to 7:
:measure:voltage:DC:ratio:digit□INC
10. :measure:voltage:AC?
Syntax:
:measure:voltage:AC?
Function:
The command queries AC voltage.
Return Format:
The query returns the current AC voltage in the form of 3.941713e-01, unit is V(for
example).
The command queries and sets the digit of AC voltage.
Explanations:
:measure:voltage:AC:digit? queries the digit of the AC voltage.
:measure:voltage:AC:digit□{INC|DEC|5|6|7} sets the digit of the AC voltage.
The Table 2- 2 indicates the parameters and their meanings.
Remarks: If the showing digit reachs 5, DEC command will be invalid. If 7,INC
invalid.