File Exchange

image thumbnail

Agilent Infiniium and InfiniiVision Oscilloscopes – MATLAB Example

version (259 KB) by

MATLAB application example for Agilent Infiniium and InfiniiVision oscilloscopes



View License

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:

Comments and Ratings (6)

Waqas Maqsud

This program is giving live view of signal as in oscilloscope. Can we save the data points waveform in MATLAB file.


Mikhail (view profile)

Awesome example!


George (view profile)


George (view profile)


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


George (view profile)

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?

kiwoong kang

first time


Updated license


Updates after testing with R2012b


Updated file with new IVI-C driver support for Agilent Infiniium scopes. Also verified with MATLAB R2012b.


Minor update


Minor update to work with current releases.


Minor update.


Licensing change


Minor revision.


Minor revision.


Update to description and functionality improvements.

MATLAB Release
MATLAB 7.6 (R2008a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video