LeCroy WaveRunner Xi series Operator's Manual page 189

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

Advertisement

You can also start with True and convert to False, but in this case overflows will cause an error message.
Anything after a single quotation mark on a line will not be used by the inst
comments, for example
' This is a comment.
A = Amp * Sin(Omega * T) Calculate the output.
InResult.DataA
rray and OutResult.DataArray are only to be used as shown in the default scripts and in the
example scripts: you cannot refer di
arrays, in this example, unscale
following:
Y = InResult.DataArray (17)
OutResult.DataArray (257) = Z
Some parts of the default script must n
highlighted in the following script .
' TODO add your custom code here accessing O
' Here's a small example that just inverts the waveform.
OutResult.Samples = InResult.Samples
startData = 0
endData = OutResult.Samples
newNumPoin
ts = endData - startData
ReDim newDataArray (OutResult.Samples)
= InResult.DataA ay (False
unscal
edD
ata
For i = 0 To endData - 1
newDataArray (i) = - unscaledData (i)
Next
OutResult.DataArray (False) = newDataArray
The four highlighted quantities are parts of the inte
InResult.Samples and InResult.DataArray are inpu
and OutResult.DataArray are out
WRXi-OM-E Rev C
rectly to individual elements of these arrays. You have to use your own
dData and newDataArray. You are not allowed to write statements like the
ot be changed because they are a part of the interface. These are
utResult and InResult objects
rr
)
_' only supp
rface. The names must be retained. Furthermore,
ts, and their values cannot be changed. OutResult.Samples
puts, and can be changed, but not directly through their individual elements.
rument. This feature is intended for
ort raw data
O
'
M
PERATOR
S
ANUAL
189

Advertisement

Table of Contents
loading

Table of Contents