12 SDA-OM-E Rev H
Service ...................................................................................................................... 217
Show Windows Desktop ............................................................................................ 217
Touch-Screen Calibration .......................................................................................... 217
Customization ................................................................................................... 218
Customizing Your Instrument .................................................................................... 218
Introduction ........................................................................................................................... 218
Solutions ............................................................................................................................... 219
Examples .............................................................................................................................. 219
What is Excel? ...................................................................................................................... 224
What is Mathcad? ................................................................................................................. 224
What is MATLAB? ................................................................................................................. 224
What is VBS? ........................................................................................................................ 224
What can you do with a customized instrument? ................................................................. 226
Number of Samples .............................................................................................................. 227
Calling Excel from Your Instrument ........................................................................... 227
How to Select a Math Function Call .......................................................................... 227
How to Select a Parameter Function Call .................................................................. 227
The Excel Control Dialog ........................................................................................... 228
Entering a File Name ................................................................................................. 228
Organizing Excel Spreadsheets ................................................................................ 229
Setting the Vertical Scale .......................................................................................... 230
Trace Descriptors ...................................................................................................... 230
Multiple Inputs and Outputs ....................................................................................... 230
Simple Excel Example 1 ....................................................................................................... 231
Simple Excel Example 2 ....................................................................................................... 234
Excel Example 1: Exponential Decay Time Constant Excel Parameter .................... 238
Excel Example 2: Gated Parameter Using Excel ...................................................... 239
How Does this Work? ........................................................................................................... 241
Excel Example 3: Correlation Excel Waveform Function .......................................... 242
Excel Example 4: Multiple Traces on One Grid ......................................................... 244
Excel Example 5: Using a Surface Plot ..................................................................... 247
Writing VBScripts ...................................................................................................... 248
Types of Scripts in VBS ........................................................................................................ 248
Loading and Saving VBScripts ............................................................................................. 248
The default parameter function script: explanatory notes ..................................................... 251
Scripting with VBScript .......................................................................................................... 252
Variable Types ...................................................................................................................... 252
Variable Names ......................................................................................................... 253