Teledyne LeCroy WaveSurfer Automation Command User Manual
Page 85
![background image](/manuals/353459/85/background.png)
Automation Command and Query Reference Manual - Control Reference
Run
Action
The Setup button applies the appropriate settings to the oscilloscope for testing the selected
standard. Different standards require a particular termination, and an error message will appear at
the bottom of the oscilloscope screen if the wrong (or no) adapter is present. However, this error
will not prevent the instrument from making the measurement; that is, measurements can be
made without the specific adapters. But if the signal is out of range for the standard, the setup
operation will generate an error message and the Run button will be grayed out. The signal will
appear on the screen, but no testing will be possible.
Before the Setup button is pressed, the Run and Clear Sweeps buttons appear grayed out.
These buttons become available (not grayed out) upon successful completion of a setup. At that
time, a Re-Align button will replace the Setup button.
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.Run 'and continue after 5 other seconds
Example
Setup
Action
After the Telecom Standard has been choosed, the Source set, the 'Setup' command will perform all
acquisition setup, make the appropriate alignments and make test ready to run.
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
Example
1-78
918499 RevA