Example 3 : Ramp
This example will show you how to create a ramp waveform with the AWG. Ramps are a good way to test the normal functioning of the AWG.
Click on the Waveform tab. In that panel, make sure that the Waveform Code is set to "31". This is the code for a ramp waveform.
You should see that the Waveform Type will say "RAMP". On the bottom you will see two boxes: DIV A and DIV B. The AWG
produces a ramp by multiplying the data point index by the (DIV A / DIV B) slope factor and the amplitude resolution of the DAC
(4096 for the AWG272/452/472 and 2048 for the AWG801/872). A slope factor greater than 1 will produce a higher slope ramp while a slope factor
less than 1 will produce
a low slope ramp.
You can also change the number of points that the waveform will have per cycle. To do this, change the Data Length to the number
of points you want.
Please note that the
Data Length is specified in hexadecimal, and it should be a
multiple of 20 (hex). For more information on Data Length, please see the
Data Length page.
Press the Download
button (at the lower right corner of the waveform panel). You
must press the Download button each time you finish changing the parameters.
Press the Restart button as needed to restart the waveform.