beautypg.com

Xport, Zoom – Teledyne LeCroy WaveRunner Automation Command User Manual

Page 319

background image

Automation Command and Query Reference Manual - Control Reference

GetProcessor([in] VARIANT processor)

Method

Retrieve a reference to a processor that has been added to the Web. This reference may then be
used to access the processor's controls. See the Math/Measure control reference section of this
manual for a list of the available controls for each processor.

Description

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

' Show the web editor and remove all processors from it
app.ActiveView = "WebEdit"
app.WebEditor.RemoveAll

' Create a Waveform Averager, name it "MyAvg", and place it at x=200, y=30
app.WebEditor.AddProcessor "LeCroy.Average", "MyAvg", 200, 30

' Retrieve a pointer to the averager and set it's number of sweeps
' to the value 1234
set myAverager = app.WebEditor.GetProcessor("MyAvg")
myAverager.Sweeps = 1234

Example

RemoveAll()

Method

Remove all processors from the web.

Description

RemoveConnection([in] VARIANT destProcessor, [in] VARIANT destInputPin)

Method

Remove a connection between two pins on the web.

Description

RemovePreview([in] VARIANT processor)

Method

Remove the named preview display.

Description

RemoveProcessor([in] VARIANT processor)

Method

Remove the named processor from the Web.

Description

XPORT

app.XPort

ZOOM

app.Zoom

ConnectedToSuperKnob

Bool

GoToEnd

Action

GoToStart

Action

HorZoomIn

Action

HorZoomOut

Action

1-311

918500 RevA