03-19-2014 01:38 PM
I have a myRio and wish to design a VCO ie a direct digital synthesis sine wave (doesn't need to be more than a few hundred Hz +/- 10Hz say) who's frequency is controlled by dc. I looked at the sine wave generator on the FPGA but it is an express VI and you cannot get access to it to add code. Any suggestions what to use? I even thought of using the processor but I can't get access to the D to A except via the FPGA or am I missing something here. Do I generate on the processor and then FIFO the data back to the FPGA to get the data out to the real world?
03-20-2014 02:14 PM
Hi there,
Yes, you could but it would be better to generate the signal directly on the FPGA and there is no need to alter the sine wave VI, instead, you can expand its functionality with more code as visible on this white paper: DDS Waveform Generation Reference Design for LabVIEW FPGA.
You can see FPGA code implementation on that link and example code that can be modified to match your specific application needs.
I hope this helps