MATLAB is a software environment and programming language with over 1,000,000 users. MATLAB extends the functionality of Agilent oscilloscopes by enabling you to analyze and visualize live or acquired oscilloscope signals, make application-specific measurements, create and apply your own filters and equalization methods, and automate tests.
This example shows you how you can use MATLAB to control an Agilent oscilloscope, capture N segments of data, and average each of those segments together. The user can customize the code to allow for different segment counts, segment sizes, sample rates, etc. MATLAB will average the segments together before displaying the final averaged waveform in MATLAB. The user can also uncomment two lines in the code (which are specified) in order to have the averaged plot be displayed as segments are being processed.
To execute this example, type ‘Segmented_Averaging’ in the MATLAB command window. Note: Change the IP address in the Segemented_Averaging.m file to the IP address of the signal source.
This MATLAB example has been tested on an Agilent DSO91304A Infiniium oscilloscope but should work on most Agilent InfiniiVision 5000, 6000, and 7000 Series as well as the Infiniium 9000 and 90000 Series oscilloscopes.
To learn more about using or purchasing MATLAB with Agilent oscilloscopes, visit:
To request your free trial of MATLAB and/or Instrument Control Toolbox, visit http://www.mathworks.com/agilent/instrument/tryit.html
Jeff Schuch (2021). Capturing and analyzing segmented data using Agilent oscilloscopes (https://www.mathworks.com/matlabcentral/fileexchange/24728-capturing-and-analyzing-segmented-data-using-agilent-oscilloscopes), MATLAB Central File Exchange. Retrieved .
I'm trying to connect an Agilent U2701A Oscilliscope to MATLAB via USB, I used the availible driver and example from MATLAB for an Agilent U2701A Oscilliscope. I’m still struggeling to make the connection, is there any steps that I have missed or any additional settings or configurations to be done?
Following is a discription:
1.Firstly I assumed the that the U2701A and U2702A will both work with the same program, due to the fact that they share nearly all of the availible drivers.
2.Secondly, when trying to run [U2701xSampleProgram(Auto).m] or [U2701xSampleProgram(Manual).m] (these are the two example programms),the following error message is recieved from MATLAB:
" ??? The IVI driver could not connect to the instrument using the specified resource name.
If this error is not an instrument error, use MIDEDIT to inspect the driver.
Error in ==> U2701xSampleProgram_Auto at 11
Further useful information:
The following programms are installed on the computer:
1) Agilent IO Libraries Suite 15.5
2) Agilent IVI-COM Driver for U2701A
3) OS: XP Professional
4) MATLAB R2006a
As in structed, i followd the following steps:
1) placed AgilentU2701A in C:\Program Files\MATLAB\R2006a\toolbox\instrument\instrument\drivers
2) changed the VISA Adress in M-File to my scope
If there is any availble help please let my know.
Rossouw van der Merwe (email@example.com)
It helps me a lot ,thanks indeed!!!
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!