User manual
Chapter 2 Command System RIGOL
MSO5000 Programming Guide 2-41
Example
:CHANnel1:INVert ON /*Enables the waveform invert for CH1.*/
:CHANnel1:INVert? /*The query returns 1.*/
:CHANnel<n>:OFFSet
Syntax
:CHANnel<n>:OFFSet <offset>
:CHANnel<n>:OFFSet?
Description
Sets or queries the vertical offset of the specified channel. The default unit is V.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
1
<offset>
Real
± 1 V (1 mV/div to 50 mV/div).
± 30 V (51 mV/div to 260 mV/div)
± 100 V (265 mV/div to 1 V/div)
0 V
Return
Format
The query returns the vertical offset in scientific notation.
Example
:CHANnel1:OFFSet 0.01 /*Sets the vertical offset of CH1 to 10 mV.*/
:CHANnel1:OFFSet? /*The query returns 1E-2.*/
:CHANnel<n>:TCALibrate
Syntax
:CHANnel<n>:TCALibrate <val>
:CHANnel<n>:TCALibrate?
Description
Sets or queries the delay calibration time (used to calibrate the zero offset of the
corresponding channel) of the specified channel. The default unit is s.
Parameter
Name
Type
Range
Default
<n>
Discrete
{1|2|3|4}
1
<val>
Real
-100 ns to 100 ns
0 s
Remarks
Set the parameter <val> to a specific value at a specified step. If the parameter value
is not within the settable range, select the value that is closest to the range
automatically. In different horizontal time bases, the step values for the parameter are
different.
When the horizontal time base is greater than 10 μs, the parameter <val> cannot be
set.
Return
Format
The query returns the delay calibration time in scientific notation.
Example
:CHANnel1:TCALibrate 0.00000002 /*Sets the delay calibration time to 20 ns.*/
:CHANnel1:TCALibrate? /*The query returns 2.000000E-8.*/