System Commands 5
CURSOR
DESCRIPTION
Parameter Names
QUERY SYNTAX
Response Format
EXAMPLE (GPIB)
XY_CURSOR_VALUE, XYCV
Command/Query
The XY_CURSOR_VALUE? query returns the current values of
the X versus Y trace parameters. The X versus Y trace does not
need to be displayed to obtain these parameters, but valid sources
must be assigned to the X and Y axes.
<cursor type>_X
<cursor type>_Y
<cursor type>_RATIO
<cursor type>_PROD
<cursor type>_ANGLE
<cursor type>_RADIUS
X
Y
AY/AX
AY * AX
arc tan(AY/AX)
sqrt(AX*AX + AY*AY)
<cursor_type> := [HABS, HREL, VABS, VREL]
XY_Cursor_Value? [<parameter> ....
<parameter>]
<parameter> := {HABS_X, HABS_Y, HABS_RATIO,
HABS_PROD, HABS_ANGLE, HABS_RADIUS, HREL_X,
HREL_Y, HREL_RATIO, HREL_PROD, HREL_ANGLE,
HREL_RADIUS, VABS_X, VABS_Y, VABS_RATIO,
VABS_PROD, VABS_ANGLE, VABS_RADIUS, VREL_X,
VREL Y, VREL_RATIO, VREL_PROD, VREL_ANGLE,
VREL_RADIUS, ALL}
Note: If <parameter> is not specified or equals ALL, all the mea-
sured cursor values are returned. If the value of a cursor could not
be determined in the current environment, the value UNDEF will
be returned. If no trace has been assigned to either the X axis or
the Y axis, an environment error will be generated.
XY_Cursor_Value <parameter>,<value>
[ .... <parameter>,<value>]
<value> := decimal value or UNDEF
The following query reads the ratio of the absolute horizontal cur-
sor, the angle of the relative horizontal cursor and the product of
the absolute vertical cursor.
CMDS$="XYCV? HABS_RATIO,HREL_ANGLE,
VABS_PROD
CALL IBWRT(SCOPE%,CMDS$)
175