beautypg.com

Teledyne LeCroy WaveSurfer Automation Command User Manual

Page 75

background image

Automation Command and Query Reference Manual - Control Reference

Sets/Queries the state of tracking of a pair of cursors. If tracking is enabled then when the first cursor
is moved, the second will track at a constant distance from it.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set cursors tracking on.
app.Cursors.Track = True

Example

XPos1

Double

From -1.79769e+308 to 1.79769e+308 step 0

Range

Sets/Queries the horizontal position of the first cursor, in the units of the horizontal variable.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set the horizontal position of the first cursor to 50 ns.
app.Cursors.XPos1 = 50e-9

Example

XPos2

Double

From -1.79769e+308 to 1.79769e+308 step 0

Range

Sets/Queries the horizontal position of the second cursor, in the units of the horizontal variable.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set the horizontal position of the second cursor to 4.5 ms.
app.Cursors.XPos2 = 4.5e-3

Example

YPos1

Double

From -3.99 to 3.99 step 0.01

Range

Sets/Queries the vertical position of the first cursor, in graticule divisions.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set the vertical position of the first cursor.
app.Cursors.YPos1 = 3.4

Example

1-68

918499 RevA