Chapter 4 161
Downloading and Using Files
Downloading ARB Waveform Data
The following additional Matlab M-file programming examples are available on the
PSG Documentation CD-ROM:
barker.m This programming example calculates and downloads an arbitrary waveform file that
simulates a simple 7 bit barker RADAR signal to the PSG vector signal generator.
chirp.m This programming example calculates and downloads an arbitrary waveform file that
simulates a simple compressed pulse RADAR signal using linear FM chirp to the PSG
vector signal generator.
FM.m This programming example calculates and downloads an arbitrary waveform file that
simulates a single tone FM signal with a rate of 6 KHz, deviation of =/- 14.3 KH, Bessel
null of dev/rate=2.404 to the PSG vector signal generator.
nchirp.m This programming example calculates and downloads an arbitrary waveform file that
simulates a simple compressed pulse RADAR signal using non-linear FM chirp to the
PSG vector signal generator.
pulse.m This programming example calculates and downloads an arbitrary waveform file that
simulates a simple pulse signal to the PSG vector signal generator.
pulsedroop.m This programming example calculates and downloads an arbitrary waveform file that
simulates a simple pulse signal with pulse droop to the PSG vector signal generator.
Downloading Waveforms from Matlab
This procedure describes how to download a waveform file from Matlab to the PSG vector signal
generator’s volatile memory.
When using the Download Assistant with Matlab, the I/O interface definition and the download command
are embedded in the M-file program (see the programming example in “Waveform Generation Using
MATLAB®” on page 157). To download the waveform to the signal generator, execute the program in the
Matlab command window by entering the name of the M-file (for example, pulsepat) at the command
prompt. The Download Assistant will be instructed to download the waveform file to the signal generator.
For more information about the Download Assistant, go to www.agilent.com and search for “Download
Assistant” in Test & Measurement.
NOTE This example uses the GPIB interface to download waveforms. Make sure that the GPIB
interface is working properly between the signal generator and the computer before
downloading. See the programming guide for more information about using GPIB and other
interfaces.