User manual

Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-25
:CURSor:TRACk:SOURce2
Syntax :CURSor:TRACk:SOURce2 <source>
:CURSor:TRACk:SOURce2?
Description
Set or query the channel source of cursor B in the track cursor measurement mode.
Parameter
Name
Type
Range
Default
<source> Discrete
{OFF|CHANnel1|CHANnel2|CHANnel3|
CHANnel4|MATH}
CHANnel1
Explanation
Only the channels enabled can be selected as the channel source.
Return
Format
The query returns OFF, CHAN1, CHAN2, CHAN3, CHAN4, or MATH.
Example
:CURSor:TRACk:SOURce2 CHANnel2 /*Set the channel source to CH2*/
:CURSor:TRACk:SOURce2? /*The query returns CHAN2*/
:CURSor:TRACk:AX
Syntax :CURSor:TRACk:AX <x>
:CURSor:TRACk:AX?
Description
Set or query the horizontal position of cursor A in the track cursor measurement mode.
Parameter
Name Type Range Default
<x>
Integer
5 to 594
100
Explanation The horizontal and vertical positions of the cursor are defined by the pixel coordinate of
the screen. The pixel coordinate of the screen ranges from (0,0) to (600,400). Wherein,
(0,0) is located at the left top corner of the screen and (600,400) is located at the right
bottom corner of the screen. The horizontal pixel range is from 0 to 600 and the vertical
pixel range is from 0 to 400.
Return
Format
The query returns an integer between 5 and 594.
Example
:CURSor:TRACk:AX 200 /*Set the horizontal position of cursor A to 200*/
:CURSor:TRACk:AX? /*The query returns 200*/