User manual
Chapter 2 Command System RIGOL
MSO5000 Programming Guide 2-121
Format
D15, CHAN1, CHAN2, CHAN3, CHAN4, MATH1, MATH2, MATH3, or MATH4.
Example
:REFerence:SOURce 1,CHANnel1 /*Sets the source of the reference channel 1 to
CHANnel1.*/
:REFerence:SOURce? 1 /*The query returns CHAN1.*/
:REFerence:VSCale
Syntax
:REFerence:VSCale <ref>,<scale>
:REFerence:VSCale? <ref>
Description
Sets or queries the vertical scale of the specified reference channel. The unit is the
same as that of the current source.
Parameter
Name
Type
Range
Default
<ref>
Discrete
{1|2|3|4|5|6|7|8|9|10}
——
<scale>
Real
Related to the probe ratio setting
When the probe ratio is 1X, the value of
<scale> ranges from 1 mV to 10 V.
When the probe ratio is 10X, the value of
<scale> ranges from 10 mV to 100 V.
1 V
Remarks
This command is only available when the specified reference channel has saved the
reference waveforms.
Return Format
The query returns the vertical scale in scientific notation.
Example
:REFerence:VSCale 1,2 /*Sets the vertical scale of reference channel 1 to 2 V.*/
:REFerence:VSCale? 1 /*The query returns 2.000000E0.*/
:REFerence:VOFFset
Syntax
:REFerence:VOFFset <ref>,<offset>
:REFerence:VOFFset? <ref>
Description
Sets or queries the vertical offset of the specified reference channel. The unit is
the same as that of the current source.
Parameter
Name
Type
Range
Default
<ref>
Discrete
{1|2|3|4|5|6|7|8|9|10}
——
<offset>
Real
(-10 × RefVerticalScale) to (10 ×
RefVerticalScale)
0 V
Remarks
RefVerticalScale indicates the vertical scale of the currently set reference channel.
Return Format
The query returns the vertical position in scientific notation.
Example
:REFerence:VOFFset 1,0.5 /*Sets the vertical offset of reference channel 1 to 500
mV.*/
:REFerence:VOFFset? 1 /*The query returns 5.000000E-1.*/