EasyManuals Logo

LeCroy SDA User Manual

LeCroy SDA
397 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #267 background imageLoading...
Page #267 background image
SDA Operator’s Manual
SDA-OM-E Rev H 267
Y = Cos (XK) * Sin (XK) * Sqr (XK)
OldXK = XK
End If
Next
VBS runs slower than the "internal" calculations, because the scripts are interpreted. This could
be serious for calculations where many operations are needed on each sample, such as
convolution, correlation, and long digital filters.
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.
Debugging Scripts
Until we have integrated a more comprehensive debugger for VBScript there is a workaround.
1. Download the Windows Scripting Debugger for Windows 2000 from here:
http://download.microsoft.com/download/winscript56/Install/1.0a/NT45XP/EN-
US/scd10en.exe
2. Enable JIT (Just In Time) debugging by setting the following registry key
HKCU\Software\Microsoft\Windows Script\Settings\JITDebug = to 1 (DWORD value)
3. Place a Stop statement in your script.
Now, when the Stop statement is executed the debugger will open and allow single-stepping,
variable examination, 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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LeCroy SDA and is the answer not in the manual?

LeCroy SDA Specifications

General IconGeneral
BrandLeCroy
ModelSDA
CategoryMeasuring Instruments
LanguageEnglish