Agilent's USB Modular Scope U2701A and U2702A MATLAB Programming Example

Version 1.0.0.0 (22.5 KB) by Neo
Shows how instrument connection is made, fetching of captured data and displaying of data
1.7K Downloads
Updated 28 Apr 2009

No License

Models in the family that supports the data acquisition toolbox are the U2701A and U2702A.

This example requires the instrument’s respective IVI-COM instrument driver to be installed in order to operate. This driver can be downloaded for free at:
http://www.agilent.com/find/ivi-com

This example also requires VISA software to be installed in order to connect to the instrument using IVI-COM drivers. The software is included in the Agilent IO Libraries and is available for download at:
http://www.agilent.com/find/iosuite

Please place AgilentU2701A.mdd which is the MATLAB IVI driver into the install directory of MATLAB {Matlab Installation Directory}\toolbox\instrument\instrument\drivers. For example, C:\MATLAB_R2009a\toolbox\instrument\instrument\drivers

Users would need to change the VISA address in the programming example to start using this to communicate it with the scope. User Interface like the bundled Agilent Measurement Manager (AMM) software is not available and this is in M-code format.

Programming Flow
1. Create an object which connected to device using VISA address
2. Connect to the device
3. Enable Channel 1
4. Read waveform from the device
5. Plot the waveform
6. Disconnect the device and delete the object

Useful MATLAB resources:
1. Summary sheet: Using MATLAB with Agilent Instruments
http://www.home.agilent.com/agilent/redirector.jspx?action=ref&lc=eng&cc=US&nfr=&ckey=1325209&cname=AGILENT_EDITORIAL
2. Overview of MATLAB: http://www.mathworks.com/agilent/matlab
3. Overview of MATLAB Data Acquisition Toolbox: http://www.mathworks.com/access/helpdesk/help/toolbox/daq/index.html?/access/helpdesk/help/toolbox/daq/f5-32960.html&http://www.mathworks.com/cgi-bin/texis/webinator/search/
4. Overview of using MATLAB with Agilent Instruments: http://www.mathworks.com/agilent/overview
5. For more MATLAB program examples and information: http://www.mathworks.com/matlabcentral/

For More Information
1. Receive a trial of MATLAB and MATLAB’s Data Acquisition Toolbox:
http://www.mathworks.com/agilent/daq/tryit.html
2. Learn how to use Instrument ControlToolbox to create MATLAB scripts by reading the user documentation: http://www.mathworks.com/products/instrument/?s_cid=HP_FP_ML_InstrumentControl
3. Learn how to use MATLAB software with other Agilent hardware:
http://www.mathworks.com/agilent/overview

Cite As

Neo (2024). Agilent's USB Modular Scope U2701A and U2702A MATLAB Programming Example (https://www.mathworks.com/matlabcentral/fileexchange/23958-agilent-s-usb-modular-scope-u2701a-and-u2702a-matlab-programming-example), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Instrument Connection and Communication in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

USB Modular Scope MATLAB Programming Example/

Version Published Release Notes
1.0.0.0