Removing A Plugin; First Example Plugin - Exchanging Two Traces On The Grids - LeCroy WaveRunner Xi series Operator's Manual

Oscilloscopes
Hide thumbs Also See for WaveRunner Xi series:
Table of Contents

Advertisement

W
R
X
S
AVE
UNNER
I
ERIES

Removing a Plugin

g Remove in the PlugIn dialog, as follows:
Remove a plugin by clickin
Close the CustomDSO dialog and reopen; the plug-in will vanish.
First Example PlugIn – Exchanging Two Traces on the Grids
The example assumes that the instrument is in dual-grid mode, and that there are at least two visible traces. The
routine looks for the visible traces, in the order C1 . . . C4, F1 . . . . Fx The number of math traces available
depends on the software options loaded on your oscilloscope. See Specifications., and it exchanges the first two
it finds whenever the button is pressed. Note that arrays of objects can be constructed, allowing numerous objects
to be accessed in simple loop
s.
Private Sub Command1_Click()
Dim wm As Object
Set wm = CreateObject("LeCroy.XStreamApplication")
Set acq = wm.Acquisition ' To save typing
Set mat = wm.Math
' To save typing
Dim t(16) As Object
' Create an array of objects to allow looping.
Set t(1) = acq.C1 : Set t(2) = acq.C2
Set t(3) = acq.C3 : Set t(4) = acq.C4
Set t(5) = mat.F1 : Set t(6) = mat.F2
Set t(7) = mat.F3 : Set t(8) = mat.F4
222
WRXi-OM-E Rev C

Advertisement

Table of Contents
loading

Table of Contents