MATLAB is a software environment and programming language with over 1,000,000 users and supports Agilent oscilloscopes through its Instrument Control Toolbox.
MATLAB is used with Agilent 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.
This MATLAB application acquires signals from an Agilent oscilloscope and performs digital filtering or other mathematical analysis on those signals - as well as visualization of the pre-processed and post-processed data. This example provides several analysis routines in order to demonstrate how MATLAB can be used to acquire and analyze your data including making measurements unique to your application. In one application, you now have direct access to reliable scope measurements as well as advanced data analysis and report generation capabilities.
This example has been tested with an Agilent Infiniium 90000 Series oscilloscope and an Agilent InfiniiVision oscilloscope. It requires the instrument’s respective IVI-COM instrument driver to be installed in order to operate. This driver can be downloaded for free at:
This example is based on a similar application created by Tom Gaudette, also available on MATLAB Central.
This example also requires VISA software to be installed in order to connect to the instrument using IVI-COM drivers and common interfaces like TCP/IP, USB, GPIB, etc. Agilent IO Libraries is available for download at:
Information on using MATLAB and Instrument Control Toolbox for configuring and controlling instruments is available at:
For additional information on using MATLAB with Agilent instruments, including MATLAB examples, demos, drivers, and videos, visit:
I get this error when I run ScopMath in Matlab 2018a:
"Variable output array "varargout" must be a cell array.
Error in MFigure/setPosition (line 71)
function varargout = setPosition(pos)
Error in ScopeMath (line 17)
I have checked almost everything from drivers to toolboxes. It seems the issue is related to new Matlab versions. Would be great if anyone can help.
There are multiple issues with the Matlab 2017a which i tried to test. It is not possible to run ScopeMath.
It would be great if a revision be done to make the code usefull again.
This program is giving live view of signal as in oscilloscope. Can we save the data points waveform in MATLAB file.
How can I change the sampling rate? I need to set a cutoff frequency to 500 Hz, but this frequency is normalized!
Thanks in advanced
Very good job!
I just have a problem...My scope is a DSO-X-2002A infiniivision. The application recognize the equipment very well but when we will acquire the wave, appears a message saying: "Error in the timer callback"
(Obs: I created a .mdd with "makemid")
Do you now how a fix it?
Updates after testing with R2012b
Updated file with new IVI-C driver support for Agilent Infiniium scopes. Also verified with MATLAB R2012b.
Minor update to work with current releases.
Update to description and functionality improvements.