beautypg.com

Teledyne LeCroy WaveExpert 100H Operators Manual User Manual

Page 314

background image

Operator’s Manual

312

WE-OM-E Rev A

The Boolean (in blue) decides whether the action button will invoke the setup or remain inactive.

For example, in setup B, A.lss and C.lss can be invoked, but not B, which is already in place.

As you see from the line numbers in the program fragments, the setup files are rather long because
they include all the information needed to set the scope to the required state. But if you want to
make a very short file that changes only a few variables (for example, the action button settings)
you can make a file that includes only the relevant instructions. This usage assumes that the
remainder of the scope is already in the required state. This is an example of the complete
compatibility of the instrument's software. The same commands can be used in setups, in scripts,
or in remote control commands in external programs, whether resident in the instrument or in an
external computer.

Creating a CustomDSO Setup File

If you touch the Edit button

when the Setup file to recall field contains the name of a

non-existent file, you will see a message like this:

If you then touch Yes, the scope will display a file like this:

' XStreamDSO ConfigurationVBScript ...

' Created by CustomDSO ...

On Error Resume Next

set dso = CreateObject("LeCroy.XStreamDSO.1")

' dso.Display.GridMode = "Dual"

' dso.Acquisition.C1.VerScale = 0.1

' dso.Acquisition.Horizontal.HorScale = 1e-6

' dso.Acquisition.TriggerMode = "Auto"

You can add to this fragment any commands you need.

CustomDSO PlugIn Mode

This is the mode in which CustomDSO really shows its power. You can insert any ActiveX control or
graph.

Creating a CustomDSO PlugIn

Follow these steps to create an example Visual Basic PlugIn: