
WR6K-OM-E Rev A
ISSUED: October 2003
287
Example Parameter Scripts
Decay Parameter
Calculating the rate of decay of a damped sine.
Locating Pulses
Finding pulses in a pulse train.
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.
Horizontal Control Variables
InResult.HorizontalOffset
Double precision
Time shift of input waveform on grid in
units of horizontal scale
OutResult.HorizontalOffset
Double precision
Time shift of output waveform on grid in
units of horizontal scale
InResult.HorizontalPerStep
Double precision
Time between successive samples in
the input waveform
OutResult.HorizontalPerStep
Double precision
Time between successive samples in
the output waveform
InResult.HorizontalUnits
String
Horizontal units of input waveform
OutResult.HorizontalUnits
String
Horizontal units of output waveform
InResult.Samples
Integer
Number of samples in input waveform
Содержание 6000 SERIES
Страница 59: ...WR6K OM E Rev A ISSUED October 2003 57 4 Select a language 5 Click Next when the Wizard appears ...
Страница 60: ...Operator s Manual 58 ISSUED October 2003 WR6K OM E Rev A 6 Select Complete setup 7 Click Install ...
Страница 65: ...WR6K OM E Rev A ISSUED October 2003 63 Proper Orientation of Drive ...
Страница 131: ...WR6K OM E Rev A ISSUED October 2003 129 Example ...
Страница 141: ...WR6K OM E Rev A ISSUED October 2003 139 ...
Страница 236: ...Operator s Manual 234 ISSUED October 2003 WR6K OM E Rev A Example 6 ...
Страница 247: ...WR6K OM E Rev A ISSUED October 2003 245 In this figure the panel has been pasted onto the Excel sheet for comparison ...
Страница 261: ...WR6K OM E Rev A ISSUED October 2003 259 ...
Страница 286: ...Operator s Manual 284 ISSUED October 2003 WR6K OM E Rev A ...
Страница 304: ...Operator s Manual 302 ISSUED October 2003 WR6K OM E Rev A ...
Страница 307: ...WR6K OM E Rev A ISSUED October 2003 305 Convolve two signals ...
Страница 327: ...WR6K OM E Rev A ISSUED October 2003 325 How JitterTrack s Interval Error works when Clock Mode is selected ...
Страница 348: ...Operator s Manual 346 ISSUED October 2003 WR6K OM E Rev A ...
Страница 398: ...Operator s Manual 396 ISSUED October 2003 WR6K OM E Rev A Setting Up the Line Voltage and Current Signals ...
Страница 402: ...Operator s Manual 400 ISSUED October 2003 WR6K OM E Rev A ...