GW Instek GDS-1000A Series Programming Manual User Manual
Page 16

COMMA
ND
DET
A
ILS
31
:cursor:<
X
>de
lta?
:curs:<
X
>de
l?
Parameter
<X>
Horizontal or
vertical c
u
rsor
x
Horizon
tal cursor (
X
axis
)
y
Ve
rtical cursor (Y axis)
Note
The returned
data form
at
is <NR
3> as f
oll
ows.
CH1
, CH2, Ma
th (CH1
±
CH2)
: ti
me (s)
for
horizont
al
cu
rsor, v
olt
ag
e (
V
) for
v
ert
ic
al
curso
r
Mat
h (FFT
): f
requ
ency (H
z)
fo
r
hor
izont
al
cur
sor,
decibel (d
B)
for vertic
al c
ursor
Example :channe
l:math
3
:cursor:xdisplay 1
:cursor:xde
lta?
→
2.500
E+0
3
R
eturns the freq
uency
(250
0Hz)
bet
w
een the
two horizont
al cursors
in
the Ma
th FFT mode
:channe
l:math
3
:cursor:ydi
spla
y 1
:cursor:yde
lta?
→
2.500
E+0
0
R
eturns the deci
bel
(2
.5d
B
) bet
w
ee
n t
he
two vertical c
u
rsor
s in
the Ma
th FFT
mode
:CURSor:<X>DISplay
Set
Descrip
tion
Turns the ho
rizontal o
r vertical cursors o
n/off.
Same
as: C
u
rs
or ke
y
Syntax
< Long >
< Short >
:cursor:y<X>display
<Boolea
n>
:curs:y<
X>
dis
<Boolean>
Parameter
<X>
X or Y cursor
<N
R1>
Cursor on/o
ff
x X
(horizontal
)
0 off
y Y
(v
ert
ical)
1 on
Example :cursor:ydi
spla
y
1
Turn Y c
u
rso
r on
GDS-1000A
Pr
ogramming
Manual
32
:CURSor:SOURce
Set
Quer
y
Descrip
tion
Selects or r
eturns the
cur
sor source ch
annel.
Same
as: C
u
rs
or ke
y
→
F1 (Source
)
Syntax
< Long >
< Short >
:cursor:source
<N
R1>
:cursor:source
?
:curs:sour <N
R1>
:curs:sour?
Parameter
<N
R1>
Cursor sourc
e
channel
1/2 Channe
l ½
3 M
ath
res
ult
Example :cursor:source
2
Select
s
C
han
nel 2 as
the cursor
so
urce