Code covered by the BSD License  

Highlights from
Waveform Generation with Tektronix® AWG5000 and AWG7000 Series – MATLAB® Example

5.0

5.0 | 2 ratings Rate this file 25 Downloads (last 30 days) File Size: 2.44 KB File ID: #22688
image thumbnail

Waveform Generation with Tektronix® AWG5000 and AWG7000 Series – MATLAB® Example

by

 

15 Jan 2009 (Updated )

MATLAB® example for arbitrary waveform generation on a Tektronix® AWG5000/7000 series generator.

| 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® AWG5000 and AWG7000 IVI-COM instrument driver – Available for download at:
http://www2.tek.com/cmswpt/swfinder.lotr?cn=awg7000
4. MATLAB® instrument driver for the Tektronix® AWG5000 and AWG7000 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

Tektronix Awg 5000 And Awg 7000 Series Driver inspired this file.

Required Products Instrument Control Toolbox
Signal Processing Toolbox
MATLAB release MATLAB 7.7 (R2008b)
Other requirements See pre-requisites for details and links. 1. TekVISA. 2. IVI Shared Components. 3. Tektronix® AWG5000 and AWG7000 IVI-COM instrument driver. 4. MATLAB® instrument driver for the Tektronix® AWG5000 and AWG7000 Series.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
13 Nov 2012 Florent

I can get the latest driver (5.0.12_0) to work with matlab (device creation and connection, basic command such as reset, or trigger source external) but when I try to send :

invoke(groupObj, 'SendWaveformReal', 'chirp', chirp_signal);

I end up with an error message :

??? Error using ==> icgroup.invoke at 90
Error: Invalid index.

Any idea ?

14 Oct 2012 Bo  
03 Mar 2011 Jose Gutierrez

I can't get it to work (the IVI-COM driver). Anyone knows of a fix / update?

21 Jul 2010 Bob465 Guevara

Re: "Thanks for this! Unfortunately, the IVI-COM driver from Tektronix no longer works with Matlab. Tektronix states this in the readme file with the download."

Can anyone corrorborate this?

07 Apr 2010 Matthew

Thanks for this! Unfortunately, the IVI-COM driver from Tektronix no longer works with Matlab. Tektronix states this in the readme file with the download.

28 Apr 2009 Mamdouh Neif

Brillian stuff! Thanks for sharing.
Mamdouh Neif.

Updates
15 Jan 2009

Updated description.

01 Feb 2010

*) adding BSD license

04 Feb 2010

*) updating with copyrights

11 Feb 2010

1) added screenshot
2) added registered marks to MATLAB & Tektronix

Contact us