MATLAB supports Agilent oscilloscopes through the Instrument Control Toolbox.
This example demonstrates how you can use MATLAB to develop a GUI application for collecting data from an Agilent MSO6014A oscilloscope. The GUI acquires the waveform from the oscilloscope and also allows you to set the timebase and vertical scale of the oscilloscope display. It also has a "simulate" mode that allows you to explore the GUI without an actual instrument. To run the application, save the files in the associated ZIP file, and do one of the following:
>> agilentScope('simulate'); % to run the application with a simulated oscilloscope
>> agilentScope(visaResourceString); % give the VISA resource string of the oscilloscope
Combining MATLAB with your oscilloscope transforms the scope into a complete test bench station for data collection and data analysis. In one application, you now have direct access to reliable scope measurements as well as advanced data analysis and report generation capabilities.
You may use this application with your oscilloscope using the built-in analysis routines. You are also welcome to modify the application (free-of-charge) for other instruments or to write your own analysis routines providing you also post your modified version of this MATLAB oscilloscope application on MATLAB Central for others to use. Contact me if you need to waive this requirement.
Information on using MATLAB and Instrument Control Toolbox for instrument control and configuration is available at:
This example comes with with a sample (limited capability) MATLAB instrument driver for the Agilent MSO 6014A Oscilloscope. Establishing a connection to the instrument requires VISA software, which is not included.
Note: This web page also includes MATLAB demos, videos, and information on drivers for other instruments.
Fixed a timer-related bug related to initiating and stopping waveform acquisition.
Corrections to the description.