beautypg.com

Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 98

background image

Chapter Three

Control Reference

Sets/Queries the currently selected type of cursor.

Type

Enum

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

' Set the cursor type to vertical relative.
app.Cursors.View = "On"
app.Cursors.Type = "VertRel"

Example

Description

Values

HorizAbs

Single cursor, position specified in time

HorizRel

Dual cursors, positions specified in time

VertAbs

Single cursor, position specified in divisions vertically

VertRel

Dual cursors, positions specified in divisions vertically

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.

Track

Bool

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

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

Example

Description

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

XPos1

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

Double

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

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

Range

Example

Description

916435 RevA

3-31