Electricaltelecom – Teledyne LeCroy WavePro Automation Command User Manual
Page 116
Automation Command and Query Reference Manual - Control Reference
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
The ClearSweeps allows you to reset the sweep count and start testing over again.
Description
' Visual Basic Script
Set app = CreateObject("LeCroy.WaveMasterApplication.1")
Example
ClearSweeps
Action
Polarity
Enum
Run
Action
Setup
Action
Source
Enum
Standard
Enum
Stop
Action
StopAfter
Integer
StopTesting
Bool
VerticalAlign
Action
1-102
918501 RevA