Generating Waveforms on Agilent MXG, ESG, PSG Signal Sources using MATLAB
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
Platform Compatibility
Windows macOS LinuxCategories
- Test and Measurement > Data Acquisition Toolbox > Periodic Waveform Generation >
- Signal Processing > Signal Processing Toolbox > Signal Generation and Preprocessing > Waveform Generation >
- Test and Measurement > Instrument Control Toolbox > Instrument Control Toolbox Supported Hardware > Function Generator >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
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 |