![LeCroy DDA-3000A Operator'S Manual Download Page 287](http://html1.mh-extra.com/html/lecroy/dda-3000a/dda-3000a_operators-manual_1866311287.webp)
X-Stream Operator’s Manual
WM-OM-E Rev I
285
' InResult.DataArray(False) provides
' integer data from -32768 to 32767.
' InResult.DataArray(True) provides real data
' in the same physical unit as the vertical scale of the input trace.
ScaleFactor = 1.0 / 32768 ' to make the trace fill the screen.
For i = 0 To LastPoint
newArray(i) = ScaleFactor * (unscaledData(i)) ^ 2
Next
OutResult.DataArray(False) = newArray ' signed long integer data output
Example Parameter Function Script: RMS of a waveform
' Example script to produce a parameter.
' This script calculates the root mean square
' of the input waveform.
' Note that a trace of nominal length 1000 has data from
' 0 to 1001. The 1001st point is not visible, so you
' normally use points 0 to 1000,
' giving 1001 points and 1000 intervals between points.
startData = 0
endData = InResult.Samples
LastPoint = endData - 1 ' because the last point is invisible.
ReDim newArray(InResult.Samples) ' to store the results
unscaledData = InResult.DataArray(True)
' InResult.DataArray(False) provides
' integer data from -32768 to 32767.
' InResult.DataArray(True) provides real data
' in the same unit as the vertical scale of the trace.
Total = 0
For i = 0 To LastPoint
Total = Total + (unscaledData(i)) ^ 2
Next
NewArray(0) = Sqr (Total / (Las 1)) Place the result in the zeroth
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 ...