![LeCroy WaveRunner 104MXI Operator'S Manual Download Page 218](http://html1.mh-extra.com/html/lecroy/waverunner-104mxi/waverunner-104mxi_operators-manual_1866369218.webp)
W
AVE
R
UNNER
X
I
S
ERIES
218
WRXi-OM-E Rev B
1163 CustomDSO.ActionEnable1 =
True
1164 CustomDSO.ActionScript1 =
“c:\LeCroy\XStream\CustomDSO\B.lss”
1165 CustomDSO.ActionEnable1 =
True
1166 CustomDSO.ActionScript1 =
“c:\LeCroy\XStream\CustomDSO\C.lss”
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 will
be called when the button is pressed.
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 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
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 ...
' 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.