beautypg.com

Teledyne LeCroy WaveExpert 100H Operators Manual User Manual

Page 298

background image

Operator’s Manual

296

WE-OM-E Rev A

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 any PC. Once it is loaded, open MATLAB from the desktop, then
close it again, before you attempt to open it from the instrument application. This is to update the 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.