Be the first to rate this file! 33 downloads (last 30 days) File Size: 5.94 KB File ID: #22627

LeCroy Oscilloscopes – MATLAB Example

by Roger Yeh

 

08 Jan 2009 (Updated 16 Jan 2009)

No BSD License  

MATLAB application example for LeCroy oscilloscopes

Download Now | Watch this File

File Information
Description

MATLAB is a software environment and programming language with over 1,000,000 users and supports LeCroy oscilloscopes through its Instrument Control Toolbox.

MATLAB is used with LeCroy oscilloscopes for important tasks including filtering acquired signals, analyzing and visualizing oscilloscope data, automating oscilloscope measurements, and generating reports. This example works with Instrument Control Toolbox V2.7 and higher.

Specifically, this basic example demonstrates how you can acquire LeCroy oscilloscope data directly into MATLAB and plot the results - all in one step. It should be pointed out that the file acquire_LeCroy_scope_data.m was automatically generated by Test & Measurement Tool, a graphical tool provided by Instrument Control Toolbox that allows you to configure and control instruments and serial devices in MATLAB without writing code. The GUI file simply calls this file when the button on the GUI is pressed and plots the acquired data.

To execute this example, unzip these files in the appropriate directory and type “LeCroy_MATLAB_GUI_example” in the MATLAB command window. Note: You may have to change the IP address and port number in the acquire_LeCroy_scope_data.m file to the IP address of your LeCroy scope.

This example was created and tested with a LeCroy WaveMaster 8600A oscilloscope but should work for most modern LeCroy oscilloscopes. This example requires the MATLAB instrument driver for LeCroy oscilloscopes to operate. Download this driver directly from: http://www.mathworks.com/matlabcentral/fileexchange/12862

To download a Getting Started Guide for using MATLAB with your LeCroy oscilloscopes in 15 minutes, visit: http://www.mathworks.com/lecroy/start

For additional information on MATLAB instrument drivers, visit the Instrument Control Toolbox product page: http://www.mathworks.com/products/instrument
 
For information on using MATLAB with LeCroy oscilloscopes, visit: http://www.mathworks.com/lecroy

Required Products Instrument Control Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Zip File Content  
Other Files acquire_LeCroy_scope_data.m,
LeCroy_MATLAB_GUI_example.fig,
LeCroy_MATLAB_GUI_example.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
16 Jan 2009

Updated example to plot figure in the main GUI window.

Tag Activity for this File
Tag Applied By Date/Time
lecroy Roger Yeh 08 Jan 2009 16:05:40
oscilloscopes Roger Yeh 08 Jan 2009 16:05:40
instrument control Roger Yeh 08 Jan 2009 16:05:40
application Roger Yeh 08 Jan 2009 16:05:40
oscilloscope Roger Yeh 08 Jan 2009 16:05:40
matlab example Roger Yeh 08 Jan 2009 16:05:40
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com