Cursor - cursor_set, crst, Command syntax, Query syntax – Teledyne LeCroy WaveAce 1000_2000 Remote Control User Manual

Page 38: Response format, Example, Related commands

Advertising
background image

WaveAce Remote Control

CURSOR - CURSOR_SET, CRST

The CURSOR_SET command allows you to position any one of the independent cursors at a given grid

location. When you are setting a cursor position, you must specify an active trace relative to which the

cursor is positioned.
The CURSOR_SET? query retrieves the current position of the cursor(s). The values returned depend on

the grid type selected:

HREF Horizontal Cursor A

VREF Vertical Cursor A.

HDIF Horizontal Cursor B

VDIF Vertical Cursor B.

Command Syntax

<trace>:CuRsor_SeT <cursor>,<position>,...

<trace>:= {TA,TB,TC,TD,C1,C2,C3,C4,M1,M2,M3,M4,M5,M6,M7,M8,M9,M10}

<cursor>:= {HABS, VABS, HREF, HDIF, VREF, VDIF}

<position>:= 0 to 10 DIV (horizontal);-3.99 to 3.99 DIV (vertical)

Query Syntax

<trace>:CuRsor_SeT? <cursor>

<cursor>:= {HREF, HDIF, VREF, VDIF}

No <cursor> implies ALL, even though not all are visible.

Response Format

<trace>:CuRsor_SeT <cursor>,<position>,...<cursor>,<position>

If the position of a cursor cannot be determined, its position will be given as

UNDEF

.

Example

The following instruction positions the VREF and VDIF cursors at +3 DIV and -2 DIV respectively, using

Trace TA as a reference:

TA:CRST VREF,3DIV,VDIF,-2DIV

Related Commands

CURSOR_MEASURE, CURSOR_VALUE?, PARAMETER_VALUE?

36

920836 Rev B

Advertising