LeCroy Oscilloscopes – MATLAB Example
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
Cite As
Roger Yeh (2024). LeCroy Oscilloscopes – MATLAB Example (https://www.mathworks.com/matlabcentral/fileexchange/22627-lecroy-oscilloscopes-matlab-example), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware > Oscilloscopes >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.