beautypg.com

Electricaltelecom – Teledyne LeCroy WaveSurfer Automation Command User Manual

Page 83

background image

Automation Command and Query Reference Manual - Control Reference

PreviewPrintColors

Action

Show the instrument display in the current color scheme selected for printing.

Description

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

' Show the current color scheme selected for printing.
app.Display.PreviewPrintColors

Example

TraceStyle

Enum

Sets/Queries the style in which traces are drawn.

Description

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

' Read the state of the persistence mode.
TraceStyle = app.Display.TraceStyle

Example

Values

Line

Connect adjacent samples with straight lines

Points

Show only the sample points

ELECTRICALTELECOM

app.ElectricalTelecom

Root Automation node to control Electrical Telecom (ET-PMT) package. This package is performing Pulse Mask Test
on diferent SONET/SDH standards.

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

'Select an stadard, run the test and get results after a while
app.ElectricalTelecom.Standard = "E1Tp"
app.ElectricalTelecom.Source = "C2"
app.ElectricalTelecom.Setup
app.ElectricalTelecom.Run
app.Sleep 10000
app.ElectricalTelecom.Pause
passed = CStr(app.ElectricalTelecom.NumPass)
tested = CStr(app.ElectricalTelecom.NumTested)
MsgBox passed + " passed of " + tested + " tests"

Example

ClearSweeps

Action

Polarity

Enum

Run

Action

Setup

Action

Source

Enum

Standard

Enum

Stop

Action

VerticalAlign

Action

1-76

918499 RevA