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

バージョン (22.5 KB) 作成者: Neo
Shows how instrument connection is made, fetching of captured data and displaying of data
ダウンロード: 1.7K
更新 2009/4/28


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:

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:

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
2. Overview of MATLAB:
3. Overview of MATLAB Data Acquisition Toolbox:
4. Overview of using MATLAB with Agilent Instruments:
5. For more MATLAB program examples and information:

For More Information
1. Receive a trial of MATLAB and MATLAB’s Data Acquisition Toolbox:
2. Learn how to use Instrument ControlToolbox to create MATLAB scripts by reading the user documentation:
3. Learn how to use MATLAB software with other Agilent hardware:


Neo (2024). Agilent's USB Modular Scope U2701A and U2702A MATLAB Programming Example (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
Windows macOS Linux
Help Center および MATLAB AnswersInstrument Connection and Communication についてさらに検索

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/

バージョン 公開済み リリース ノート