Calling Matlab - 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
Set ExcelApp = GetObject(,"Excel.Ap
ExcelApp.Visible = True
ExcelColumnA = 2
'Column where the data will appear in Excel
ExcelRow = 10
'Row whe
ExcelColumnB = 3
' Column w
For K = 0 To LastPoint
ExcelApp.ActiveSheet.Cells("ExcelRow + K, ExcelColumnA ") = -USD(K)
Next
Once the data are in Excel, any Excel function
sc
ript.
For K = 0 To LastPoint
NDA(K) = ExcelA
pp.ActiveSheet.Cel ("ExcelRow
Next
Transferring data cell by c
Calling MATLAB from

Calling MATLAB

Note: Load MATLAB version 6
desktop, then close it again, be
registry.
MATLAB can be directly called from the instrum
Using a function
Using a parameter
In both cases, one call to MATLAB can use two
power than is available by
Note: If you do not place a semicolon ";" at the end of a li
result window, significantly slow
208
ERIES
plication")
re
the data
will s
tart
here the o
utput data will appear in Excel
s
can be applied to the data. The results
ls
ell is v
ery slow, s
o it
is better to do a block transfer.
the
Instru
men
t
.5 just as
you w
ould on any PC. Once it is loaded, open MATLAB from the
fore you attempt to open it from the instru
ent in two ways:
F1 throu
gh F
x The number of math traces
available
dep
ends on the software options
loade
d o
n your oscillosco
Specifications.
P1 through Px
separate waveforms as input, providing much grea
calling MATLAB from a VBScript.
ing down
the
processing rate. This feature is best kept for diag
+ K, ExcelColumnB")
ment application. This is to update the
pe. See
ne, MATLAB will show
can be returned to the VB
MATLAB returns a
waveform
MATLAB returns a
parameter
ter computing
the calculated value in the
nostics.
WRXi-OM-E Rev C

Advertisement

Table of Contents
loading

Table of Contents