Teledyne LeCroy WavePro Automation Command User Manual

Page 120

Advertising
background image

Automation Command and Query Reference Manual - Control Reference

Stop

Action

Stop the test and reset counters. After this command, a new 'Setup' must be made.
This is one of the action to control the state machine of Mask Testing : Setup, ReAlign, Stop, Pause,
Run and VerticalAlign.

Description

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

'Select an stadard and run the test
app.ElectricalTelecom.Standard = "E1Coax"
app.ElectricalTelecom.Setup
app.ElectricalTelecom.Run
app.Sleep 5000
app.ElectricalTelecom.Pause 'pause the test after 5 seconds
app.Sleep 5000
app.ElectricalTelecom.Stop 'Stop the test

Example

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

1-106

918501 RevA

Advertising
This manual is related to the following products: