beautypg.com

GW Instek GDS-1000 Series Programming Manual User Manual

Page 13

background image

COMMAND

DETAILS

25

33B

:CURSor:YPosition

Set

Query

Description

Selects or returns the vertical (Y axis) cursor
position.
Same as: Cursor key →F5 (X-Y) → F2(Y1) or F3(Y2)
+

Vertical knob

Syntax

< Long >

< Short >

:cursor:yposition

:cursor:yposition?

:curs:yp
:curs:yp?

Parameter

Cursor 1 or 2

Cursor position

1 Cursor

Y1

1 ~ 199

1 ~ 199 point

2 Cursor

Y2

Note

When in the query mode, the returned data format
is as follows.
CH1, CH2, Math (CH1±CH2): voltage (V)
Math (FFT): decibel (dB)

Example :cursor:ydisplay

1

:cursor:y1position 100

Puts the vertical
cursor Y1 on the 100
point position

:channel:math

3

:cursor:ydisplay 1
:cursor:y1position?
→ 2.500E+00

Returns the Y1 cursor
position as 2.5dB in
the Math FFT mode

34B

:CURSor:DELta

Query

Description

Returns the distance between two horizontal (X
axis) or vertical (Y axis) cursors.
Same as: Cursor key →F5 (X-Y) → F4

GDS-1000 Programming Manual

26

Syntax

< Long >

< Short >

:cursor:delta?

:curs:del?

Parameter

Horizontal or vertical cursor

x

Horizontal cursor (X axis)

y

Vertical cursor (Y axis)

Note

The returned data format is as follows.
CH1, CH2, Math (CH1±CH2): time (s) for
horizontal cursor, voltage (V) for vertical cursor
Math (FFT): frequency (Hz) for horizontal cursor,
decibel (dB) for vertical cursor

Example :channel:math

3

:cursor:xdisplay 1
:cursor:xdelta?

2.500E+03

Returns the frequency
(2500Hz) between the
two horizontal cursors
in the Math FFT mode

:channel:math

3

:cursor:ydisplay 1
:cursor:ydelta?

2.500E+00

Returns the decibel
(2.5dB) between the
two vertical cursors in
the Math FFT mode

35B

:CURSor:DISplay

Set

Description

Turns the horizontal or vertical cursors on/off.
Same as: Cursor key

Syntax

< Long >

< Short >

:cursor:ydisplay

:curs:ydis

Parameter

X or Y cursor

Cursor on/off

x X

(horizontal)

0 off

y Y

(vertical)

1 on

Example :cursor:ydisplay

1

Turn Y cursor on