Example 3 : Ramp


This example will show you how to create a ramp waveform. 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 relatve frequency sine waves.


You should see that in the Waveform Type box it 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 A/B slope factor and the resolution of the DAC which is 4096. If you wanted a ramp with a high slope then you would have A/B more than 1. If you wanted a ramp with a low slope then you would have A/B less than 1.


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 and then make sure that the Memory Depth is either equal to or more than the Data Length. Please note that the Data Length is specified in hexidecimal. For more information on Memory Depth and Data Length, please see the Memory Depth and 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.