288
WM-OM-E Rev I
For i = 0 To endData - 1
newDataArray (i) = - unscaledData (i)
Next
OutResult.DataArray
(False) = newDataArray _
' only support raw data
The four highlighted quantities are parts of the interface. The names must be retained. Furthermore,
InResult.Samples and InResult.DataArray are inputs, and their values cannot be changed.
OutResult.Samples and OutResult.DataArray are outputs, and can be changed, but not directly
through their individual elements.
The default parameter function script: explanatory notes
The default parameter script is similar to the default waveform script, but there are subtle
differences.
First, the size of the data array is the same as the nominal value: you cannot use or see the extra
two points. So "500 points" means just that: 500 points.
Second, the output looks like an array, but only element zero is currently used. You must copy your
parameter result into newValueArray(0). As with the arrays of the Waveform Script, you cannot
refer directly to elements of the input and output arrays. You may not write something like
OutResult.ValueArray (0) = P.
Note that the unit of the parameter is displayed as the same as the vertical unit of the trace, even if
you have squared the data, for example, unless you change the unit yourself.
The default parameter script is shown below.
' TODO add 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 MeanDemoScriptApr2.lss.
Summary of Contents for DDA-3000A
Page 1: ...LECROY X STREAM OSCILLOSCOPES O P E R AT O R S M A N U A L SEPTEMBER 2006 ...
Page 18: ...16 WM OM E Rev I BLANK PAGE ...
Page 64: ...62 WM OM E Rev I icon in Channels dialog zooms one trace zooms all displayed traces ...
Page 80: ...78 WM OM E Rev I 4 Select a language 5 Click Next when the Wizard appears ...
Page 81: ...X Stream Operator s Manual WM OM E Rev I 79 6 Select Complete setup ...
Page 157: ...X Stream Operator s Manual WM OM E Rev I 155 ...
Page 170: ...168 WM OM E Rev I 5 Read the status information in line StatusDescription ...
Page 214: ...212 WM OM E Rev I Delay Parameter Find Range selected ...
Page 263: ...X Stream Operator s Manual WM OM E Rev I 261 ...
Page 284: ...282 WM OM E Rev I ...
Page 285: ...X Stream Operator s Manual WM OM E Rev I 283 Using a Surface Plot Excel Example 5 ...
Page 324: ...322 WM OM E Rev I ...