LeCroy WaveRunner Xi series Operator's Manual page 190

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

Advertisement

W
R
X
S
AVE
UNNER
I
The default parameter func
The default parameter script is similar to the default wavefor
First, the size of the data array is the same as the nominal
"500 points" means just that: 500 points.
Second, the output looks like an array,
result into newValueArray(0). As with
the input and output arrays. You may
OutResult.ValueArray (0) = P.
Note that the unit of the parameter is displayed as t
squared th
e data, for example, unless you change the unit yourself.
To find out how to edit a paramete
The default parameter script is shown below
' TODO ad
d your custom code here accessing OutResult and InResult objects
' Here's a small example that just inverts the waveform
numParam = InResult.Samples
ReDim newValueArray(numParam)
scaledData = InResult.DataArray
For i = 0 To numParam-1
newValueArray(i) = -scaledData(i)_' Change this to do something useful.
Next
OutResult.ValueArray = newValueArray 'only support raw data
Your parameter script should include something like this:
A. Do calculation to obtain your parameter value from the input data array.
B. newValueDataArray (0) = ParameterValue
C. OutResult.ValueArray = newValueArray
You can test this script using setup Mean
You can edit scripts using Notepad, but you will not get any notification of errors.
You are not allowed to write OutResult.ValueArray(0) = MeanParameter.
InResult.DataArray and OutResult.DataArray are only to be used as shown in the default scripts and in the
example scripts. You cannot refer to, or modify, any in
190
ERIES
tion script: explanatory notes
but only element zero is currently used. You must copy your parameter
the arrays of the Waveform Script, you cannot refer directly to elements of
not write something like
r script, click here.
.
DemoScriptApr2.lss.
m script, but there are subtle differences.
value: you cannot use or see the extra two points. So
he same as the vertical unit of the trace, even if you have
dividual element in these arrays.
WRXi-OM-E Rev C

Advertisement

Table of Contents
loading

Table of Contents