270
SDA-OM-E Rev H
ExcelApp.ActiveSheet.Cells("Ex K, ExcelColumnA ") = -
USD(K)
Next
Once the data are in Excel, any Excel functions can be applied to the
data. The results can be returned to the VB script.
For K = 0 To LastPoint
NDA(K) = ExcelApp.ActiveSheet.Cells("Ex K, ExcelColumnB")
Next
Transferring data cell by cell is very slow, so it is better to do a block transfer.
Calling MATLAB from the Instrument
Note:
Load MATLAB version 6.5 just as you would on a PC. Once loaded, open MATLAB from the desktop, then close it
again before attempting to open it from the instrument application. Restarting the application is necessary in order to
update the system registry.
MATLAB can be directly called from the instrument in two ways:
Using a function
F1 through Fx [The number of math traces
available depends on the software options
loaded on your scope. See Specifications.]
MATLAB returns a waveform
Using a parameter
P1 through Px
MATLAB returns a parameter
In both cases, one call to MATLAB can use two separate waveforms as input, providing much
greater computing power than is available by calling MATLAB from a VBScript.
Note:
If you do not place a semicolon ";" at the end of a line, MATLAB will show the calculated value in the result window,
significantly slowing down the processing rate. This feature is best kept for diagnostics.
Summary of Contents for SDA
Page 1: ...SERIAL DATA ANALYZER OPERATOR S MANUAL December 2007 ...
Page 223: ...SDA Operator s Manual Example 6 SDA OM E Rev H 223 ...
Page 225: ...SDA Operator s Manual SDA OM E Rev H 225 ...
Page 246: ...246 SDA OM E Rev H ...
Page 247: ...SDA Operator s Manual Excel Example 5 Using a Surface Plot SDA OM E Rev H 247 ...
Page 279: ...SDA Operator s Manual Convolving two signals SDA OM E Rev H 279 ...
Page 310: ...The jitter wizard is accessed from the Analysis drop down menu 310 SDA OM E Rev H ...
Page 327: ...SDA Operator s Manual SDA OM E Rev H 327 ...
Page 328: ...328 SDA OM E Rev H ...
Page 394: ...394 SDA OM E Rev H ...