beautypg.com

Creating a customdso setup file – Teledyne LeCroy WaveRunner XI SERIES Operator’s Manual User Manual

Page 218

background image

W

AVE

R

UNNER

X

I

S

ERIES

218

WRXi-OM-E Rev C

nEnable1 =

True

tionScript1 =

“c:\LeCroy\XStream\CustomDSO\B.lss”

True

y\XStream\CustomDSO\C.lss”

ill

n inactive.

ready in place.

tup files are rather long because they include

all the information needed to set the DSO 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 DSO 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

1163 CustomDSO.Actio

1164 CustomDSO.Ac

1165 CustomDSO.ActionEnable1 =

1166 CustomDSO.ActionScript1 =

“c:\LeCro

1167 CustomDSO.ActionEnable1 =

False

1168 CustomDSO.ActionScript1 =

“c:\LeCroy\XStream\CustomDSO\A.lss”

1169 CustomDSO.ActionEnable1 =

False

The text in green following a single quotation mark is a VBS comment and causes no action.

The text in red contains the path and name of the setup file associated with the numbered button. This setup w
be called when the button is pressed.

des whether the action button will invoke the setup or remai

The Boolean (in blue) deci

For example, in setup B,

A.lss and C.lss can be invoked, but not B, which is al

As you see from the line numbers in the program fragments, the se

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 DSO will display a file like this:

' XStreamDSO ConfigurationVBScript ...

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

' dso.Acquisition.TriggerMode = "Auto"

You can add to this fragment any commands you need.

' Created by CustomDSO ...

On Error Resume Next

' dso.Display.GridMode = "Dual"

' dso.Acquisition.C1.VerScale = 0.1

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