03-05-2007 10:39 AM
03-06-2007 04:15 PM
Hi Jamie,
The example you are looking at uses the sub VI ‘niFgen Util Create Waveform Data’, which takes the number of points, and creates the frequency by using 1/ number of points. You can notice that this sub VI takes the cluster of waveform data, and uses the appropriate sine, cosine, square, etc VI to create the actual waveform. Please note that the frequency is the frequency of sine wave in normalized units of cycles/sample. You can find more on this here.
If you would like to create your own waveform, you can replace the 'Util Create Waveform Data.vi' and use the appropriate ‘create waveform’ and put a control on the front panel for the frequency.