beautypg.com

Teledyne LeCroy WaveRunner Automation Command User Manual

Page 103

background image

Automation Command and Query Reference Manual - Control Reference

StopAfter

Integer

From 1 to 1000000000 step 1

Range

If app.ElectricalTelecom.StopTesting is "On", this specify the number of sweeps that will be done
before test will be stopped. After that, counters could be read.

Description

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

'Select an stadard, run the test and stop after 1000 sweeps
app.ElectricalTelecom.Standard = "E1Coax"
app.ElectricalTelecom.Source = "C2"
app.ElectricalTelecom.Polarity = "pos"
app.ElectricalTelecom.StopAfter = 1000
app.ElectricalTelecom.StopTesting = "On"
app.ElectricalTelecom.Setup
app.ElectricalTelecom.Run
do while app.ElectricalTelecom.TestState <> "Pause"
app.Sleep 500
loop
passed = CStr(app.ElectricalTelecom.NumPass)
tested = CStr(app.ElectricalTelecom.NumTested)
MsgBox passed + " passed of " + tested + " tests"

Example

StopTesting

Bool

If this mode is "On", the test will stop after 'app.ElectricalTelecom.StopAfter' sweeps.

Description

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

'Select an stadard, run the test and stop after 1000 sweeps
app.ElectricalTelecom.Standard = "E1Coax"
app.ElectricalTelecom.Source = "C2"
app.ElectricalTelecom.Polarity = "pos"
app.ElectricalTelecom.StopAfter = 1000
app.ElectricalTelecom.StopTesting = "On"
app.ElectricalTelecom.Setup
app.ElectricalTelecom.Run
do while app.ElectricalTelecom.TestState <> "Pause"
app.Sleep 500
loop
passed = CStr(app.ElectricalTelecom.NumPass)
tested = CStr(app.ElectricalTelecom.NumTested)
MsgBox passed + " passed of " + tested + " tests"

Example

VerticalAlign

Action

For test that allow that, it's possible to perform a Vertical re-alignment .

Description

ET

app.ElectricalTelecom.ET

Aligned waveform output of Electrical Telecom package. From there, all it's diplay settings can be changed. See
"executive setup" chapter for more details.

1-95

918500 RevA