View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
MATLAB GUI Example for Agilent N8241A Arbitrary Waveform Generator

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 16.9 KB File ID: #16402 Version:
image thumbnail

MATLAB GUI Example for Agilent N8241A Arbitrary Waveform Generator



16 Sep 2007 (Updated )

Agilent N8241A MATLAB GUI

| Watch this File

File Information

MATLAB supports Agilent arbitrary waveform generators through the Instrument Control Toolbox.
This example demonstrates how you can use MATLAB to develop a GUI application for configuring an Agilent N8241A Arbitrary Waveform Generator. The GUI allows you to configure sinusoids and pulse trains of varying frequency, and to step automatically through a sequence of frequency values. It also has a "simulate" mode that allows you to explore the GUI without an actual instrument (the generated waveforms and AWG status are displayed a separate figure window).

To run the application, save the files in the associated ZIP file, and do one of the following:

>> agilentFcnGen('simulate'); % to run the application with a simulated AWG

>> agilentFcnGen(visaResourceString); % give the VISA resource string of the AWG

You may use this application with your AWG using the built-in waveforms. You are also welcome to modify the application (free-of-charge) for other instruments or to write your own waveform generation routines providing you also post your modified version of this MATLAB AWG application on MATLAB Central for others to use. Contact me if you need to waive this requirement.

Information on using MATLAB and Instrument Control Toolbox for instrument control and configuration is available at:

This example requires VISA software and the MATLAB instrument driver for the Agilent N8241A Arbitrary Waveform Generator. The MATLAB instrument driver is available from MATLAB Central.

Note: This web page also includes MATLAB demos, videos, and information on drivers for other instruments.

Required Products Instrument Control Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Other requirements * VISA software * The MATLAB instrument driver for the Agilent N8241A Arbitrary Waveform Generator (also available from MATLAB Central).
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
24 Sep 2007

Added link to the Agilent instrument driver.

01 Sep 2016

Updated license

Contact us