Scripting Ideas; Example Waveform Script; Example Parameter Scripts; Debugging Scripts - LeCroy WaveRunner Xi series Operator's Manual

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

Advertisement

Scripting Ideas

What can we do in a VBS script that we cannot do with the normal instrument functions? Here are some
possibilities.
Create a new function that acts on waveform values.
Create a new parameter.
Create a new form of non-linear vertical scale.
Create a new form of non-linear horizontal scale.
Move some or all data horizontally, including reflections.
Combine data to form digital filters.
Show several function results side by side.
Show several function results interleaved.
You can even create output data that are not related to the input. The output data need not even be in the same
domain as the input data, because the system treats them as pure numbers. So you can create your own
transforms into the frequency domain, for example.

Example Waveform Script

Custom Window
Creating a window function for FFT calculations.

Example Parameter Scripts

Decay Parameter
Calculating the rate of decay of a damped sine.
Locating Pulses
Finding pulses in a pulse train.
Debuggin
g Scripts
Until we have integrated a more compr
Download the Windows Scripting D
http://download.mi
croso
Enable JIT (Just In Time) debuggin
HKCU\Software\Mi
crosof
Place a Stop state
ment in
When the Stop sta
temen
etc.
Using VBA or Visual Basic to debug VBScripts is not recommended since the language syntax for these three
variants of basic is slightly different.
WRXi-OM-E Rev C
ehensive debugger for VBScript there is a work
ebugger
for Windows 2000 from here:
ft.com/dow
nload/winscript56/Install/1.0a/NT45XP/EN-US/sc
g by setti
ng the following registry key
t\Window
s Script\Settings\JITDebug = to 1 (DWORD value)
your scr
ipt.
t is execu
ted the debugger opens and allows single-stepping, vari
O
'
M
PERATOR
S
ANUAL
around.
d10en.exe
able examination,
205

Advertisement

Table of Contents
loading

Table of Contents