User manual

Chapter 2 Command System RIGOL
MSO7000/DS7000 Programming Guide 2-69
:DVM Commands
Command List:
:DVM:CURRent?
:DVM:ENABle
:DVM:SOURce
:DVM:MODE
:DVM:CURRent?
Syntax
DVM:CURRent?
Description
Queries the current voltage value under test.
:DVM:ENABle
Syntax
:DVM:ENABle <bool>
:DVM:ENABle?
Description
Enables or disables the digital voltmeter; or queries the on/off status of the digital
voltmeter.
Parameter
Name
Type
Range
Default
<bool>
Bool
{{1|ON}|{0|OFF}}
0|OFF
Return
Format
The query returns 1 or 0.
Example
:DVM:ENABle ON /*Enables the digital voltmeter.*/
:DVM:ENABle? /*The query returns 1.*/
:DVM:SOURce
Syntax
:DVM:SOURce <source>
:DVM:SOURce?
Description
Sets or queries the source of the digital voltmeter.
Parameter
Name
Type
Range
Default
<source>
Discrete
{CHANnel1|CHANnel2|CHANnel3|CHANnel4}
CHANnel1
Return
Format
The query returns CHAN1, CHAN2, CHAN3, or CHAN4.
Example
:DVM:SOURce CHANnel1 /*Sets the source of DVM to CH1.*/
:DVM:SOURce? /*The query returns CHAN1.*/