Instructions

RIGOL Chapter 2 Command System
2-156 MSO5000-E Programming Guide
:TIMebase[:MAIN]:SCALe
Syntax :TIMebase[:MAIN]:SCALe <scale>
:TIMebase[:MAIN]:SCALe?
Description
Sets or queries the scale of the main time base.
Parameter
Name
Type
Range
Default
<scale>
Real
Refer to Remarks
1 μs/div
Remarks The range of <scale> is related to the current horizontal time base mode of the
oscilloscope and its model.
YT mode
MSO5152-E: 5 ns to 1,000 s
Roll mode
200 ms to 1,000 s
Return Format
The query returns the main time base scale in scientific notation.
Example :TIMebase:MAIN:SCALe 0.0002 /*Sets the main time base scale to 200 μs/div.*/
:TIMebase:MAIN:SCALe? /*The query returns 2.000000E-4.*/
:TIMebase:MODE
Syntax :TIMebase:MODE <mode>
:TIMebase:MODE?
Description
Sets or queries the horizontal time base mode.
Parameter
Name
Type
Range
Default
<mode>
Discrete
{MAIN|XY|ROLL}
MAIN
Remarks MAIN: indicates the YT mode.
XY: indicates the XY mode.
ROLL: indicates the Roll mode.
Return Format
The query returns MAIN, XY, or ROLL.
Example :TIMebase:MODE XY /*Sets the horizontal time base mode to XY.*/
:TIMebase:MODE? /*The query returns XY.*/
:TIMebase:HREFerence:MODE
Syntax :TIMebase:HREFerence:MODE <href>
:TIMebase:HREFerence:MODE?
Description
Sets or queries the horizontal reference mode.
Parameter
Name
Type
Range
Default
<href>
Discrete
{CENTer|LB|RB|TRIG|USER}
CENTer
Remarks CENTer: when the horizontal time base is modified, the waveform displayed
will be expanded or compressed horizontally relative to the screen center.
LB: when the horizontal time base is modified, the waveform displayed will be
expanded or compressed relative to the left border of the screen.