5.0

5.0 | 1 rating Rate this file 44 downloads (last 30 days) File Size: 1.52 KB File ID: #22688

Waveform Generation with Tektronix AWG5000 and AWG7000 Series – MATLAB Example

by Roger Yeh

 

15 Jan 2009 (Updated 15 Jan 2009)

No BSD License  

MATLAB example for arbitrary waveform generation on a Tektronix AWG5000 or AWG7000 series generator.

Download Now | Watch this File

File Information
Description

MATLAB is a software environment and programming language with over 1,000,000 users and supports Tektronix Arbitrary Waveform Generators through its Instrument Control Toolbox.

One of today’s most challenging design problems in RF technologies, as well as other wireless applications, is the creation of stimulus signals that can fully exercise a prototype. Complex high-frequency modulated signals with jitter, spread spectrum clocking, and other time-variant effects require a benchtop of pulse, function, modulation and RF generators. Using MATLAB to generate such a signal and output it through a Tektronix Arbitrary Waveform Generator replaces the need for all that equipment.

The ‘generate_arb_waveform_Tektronix’ script connects to the Tektronix AWG, resets it, puts the waveform onto channel 1 of the instrument by calling the ‘chirp_signal’ function, enables channel 1 output, and disconnects the instrument. This ‘generate_arb_waveform_Tektronix’ script was generated by Test & Measurement Tool, a graphical tool provided by Instrument Control Toolbox that allows the user to configure and control instruments in MATLAB.
 
To execute this example, extract the files from the zip file and type ‘generate_arb_waveform_Tektronix’ in the MATLAB command window. Notes: Change the IP address in the generate_arb_waveform_Tektronix.m file to the IP address of the AWG. If the Signal Processing Toolbox is not installed, replace the CHIRP function in chirp_signal.m with a different function.

Pre-requisites:
1. TekVISA 3.3 (or newer) – Available for download at:
http://www.tektronix.com
2. IVI Shared Components – Available for download on the IVI foundation website at: http://www.ivifoundation.org/Downloads/SharedComponents.htm
3. Tektronix AWG 5000 and AWG 7000 IVI-COM instrument driver – Available for download at:
http://www2.tek.com/cmswpt/swfinder.lotr?cn=awg7000
4. MATLAB instrument driver for the Tektronix AWG 5000 and AWG 7000 Series – Created by Tektronix and available for download on MATLAB Central at:
http://www.mathworks.com/matlabcentral/fileexchange/20153

This example was created and tested with a Tektronix AWG7101 Arbitrary Waveform Generator but should work for other Tektronix generators in the AWG5000 and AWG7000 series including the AWG5002, AWG5004, AWG5012, AWG5014, AWG7101, AWG7102, AWG7051, and AWG7052.

To download a Getting Started Guide for using MATLAB with your Tektronix instruments in 15 minutes, visit:
http://www.mathworks.com/tektronix/start

Information on using MATLAB and Instrument Control Toolbox for configuring and controlling instruments is available at:
http://www.mathworks.com/products/instrument
   
For additional information on using MATLAB with Tektronix instruments, including MATLAB examples, demos, drivers, and videos, visit:
http://www.mathworks.com/tektronix

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Tektronix AWG 5000 and AWG 7000 Series - Driver

Required Products Instrument Control Toolbox
Signal Processing Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Zip File Content  
Other Files chirp_signal.m,
generate_arb_waveform_Tektronix.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
28 Apr 2009 Mamdouh Neif

Brillian stuff! Thanks for sharing.
Mamdouh Neif.

Please login to add a comment or rating.
Updates
15 Jan 2009

Updated description.

Tag Activity for this File
Tag Applied By Date/Time
tektronix Roger Yeh 15 Jan 2009 14:35:44
arbitrary waveform Roger Yeh 15 Jan 2009 14:35:44
arbitrary waveform generator Roger Yeh 15 Jan 2009 14:35:44
instrument control Roger Yeh 15 Jan 2009 14:35:44
direct synthesis Roger Yeh 15 Jan 2009 14:35:44
signal generator Roger Yeh 15 Jan 2009 14:35:44
signal generation Roger Yeh 15 Jan 2009 14:35:44
matlab example Roger Yeh 15 Jan 2009 14:35:44
awg5000 Roger Yeh 15 Jan 2009 14:35:44
awg7000 Roger Yeh 15 Jan 2009 14:35:44
awg5002 Steven Kolak 16 Jan 2009 16:07:34
awg7101 Steven Kolak 16 Jan 2009 16:07:35
awg5012 Steven Kolak 16 Jan 2009 16:07:35
awg5014 Steven Kolak 16 Jan 2009 16:07:35
awg5004 Steven Kolak 16 Jan 2009 16:07:35
awg7102 Steven Kolak 16 Jan 2009 16:07:35
awg7051 Steven Kolak 16 Jan 2009 16:07:35
awg7052 Steven Kolak 16 Jan 2009 16:07:35
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com