beautypg.com

Teledyne LeCroy WavePro Automation Command User Manual

Page 485

background image

Automation Command and Query Reference Manual - Control Reference

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

' Enter auto-trigger mode
app.Acquisition.TriggerMode = "Auto"

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

' Crea

Example

AddConnection([in] VARIANT destProcessor, [in] VARIANT destInputPin, [in]
VARIANT sourceProcessor, [in] VARIANT sourceOutputPin)

Method

Add a connection between two 'pins' of nodes placed within the Web Editor.
Pins are described by the name of the node, and the zero-based index of the pin on that node.

Description

AddPreview([in] VARIANT sourceProcessor, [in] VARIANT sourcePin, [in] BSTR
previewName, [in] double xPosition, [in] double yPosition, [in] BSTR
associatedExecName)

Method

Add a Preview to the specified pin of the specified node. The coordinates specify where the preview
will appear on the Web, with 0,0 being the top left-hand corner.

Description

AddProcessor([in] VARIANT processorOrClassId, [in] BSTR requestedName, [in]
double xPosition, [in] double yPosition)

Method

Add a named 'processor' to the web. To determine the name of a processor just place it on the web
using the GUI and hover the mouse over the node. The 'ProgID' of the node, in the format
'LeCroy.' will appear. Note that when adding processors from automation there is no
distinction between Measure, Math, and Pass/Fail processors.

Description

ClearSweeps

Action

Clear any accumulated data for nodes such as Average, Persistence, etc. that reside in the
processing web.

Description

ClearSweeps

Action

GetProcessor([in] VARIANT processor)

Method

RemoveAll()

Method

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

Method

RemovePreview([in] VARIANT processor)

Method

RemoveProcessor([in] VARIANT processor)

Method

1-471

918501 RevA

This manual is related to the following products: