Generating Waveforms on Agilent MXG, ESG, PSG Signal Sources using MATLAB

Version 1.7.0.1 (2.5 KB) by Vinod
MATLAB® example to download arbitrary waveform data on Agilent MXG, ESG, or PSG signal sources.
7.7K Downloads
Updated 1 Sep 2016

View License

MATLAB is a software environment and programming language with over 1,000,000 users and is used to generate arbitrary and standard waveforms, configure and control instruments, build automated test applications, and analyze and visualize data from other instruments. MATLAB only supports instrument communication when you use MATLAB with its Instrument Control Toolbox™.
This example uses MATLAB to generate an arbitrary waveform (IQ data), configure the instrument, download the waveform to the Agilent source, and instruct the instrument when to source the waveform.

To execute this example, type ‘Generate_Waveform_Agilent’ in the MATLAB command window. [Note: Change the IP address in the generate_agilent_waveform.m file to the IP address of the signal source.]

This MATLAB example has been tested on an N5182A MXG but should work on other Agilent signal sources including these MXG, ESG, and PSG models: E4428C,E4438C,N5181A,N5182A,N5183A,E8241A,E8244A,E8251A,E8254A,E8247C,E8257C, E8267C,E8257D,E8267D,E8663B,N8211A,N8212A.

To learn more about using MATLAB and Instrument Control Toolbox™ for configuring and controlling instruments, visit:
http://www.mathworks.com/products/instrument

To request a trial of MATLAB and/or Instrument Control Toolbox, visit http://www.mathworks.com/agilent/instrument/tryit.html

For additional information on using MATLAB with Agilent instruments, including MATLAB examples, demos, drivers, and videos, visit:
http://www.mathworks.com/agilent

Cite As

Vinod (2024). Generating Waveforms on Agilent MXG, ESG, PSG Signal Sources using MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/24048-generating-waveforms-on-agilent-mxg-esg-psg-signal-sources-using-matlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.7.0.1

Updated license

1.7.0.0

Change in copyright.

1.6.0.0

Updated description

1.5.0.0

Updated description

1.4.0.0

Minor update.

1.3.0.0

Update to include VISA and basic interface functionality in example.

1.1.0.0

Minor update

1.0.0.0