05-22-2013 04:00 AM - edited 05-22-2013 04:01 AM
Hi everybody,
I've tried to generate a signal in FPGA (with determined amplitude, frequency...) and plot it using waveform chart (also in the FPGA part), but when I put run continuously, I get a 0 amplitude signal during all the time. What's going wrong?
Thanks!
Solved! Go to Solution.
05-22-2013 05:27 AM
Have you tried placing your code in a for loop instead of running continuously?
Regards,
Marco
05-22-2013 05:40 AM
05-22-2013 05:41 AM
It works but the signal generated is not constant and it doesn't seems perfect sinusoidal, it seems to be triangular.
Thanks 😉
05-22-2013 07:36 AM
You can't use chart's on the FPGA. If you want to visualize the data it has to be done by the Host.
The FPGA code will be compiled to a bitfile without controls. The controls on the main VI represent the interface to the host and can't be (really) used to visualize the runtime behaviour.
Hope it helps
Christian
05-22-2013 08:33 AM
Is there any example of how to read data in FPGA from RT? I mean, I've an acquisition made and saved as .txt and I want to read it in RT and then transfer it to FPGA to implement an algorithm. I suppose that I should implement a FIFO but I'm not really sure how to do it. Can I send all the data or I've to send it with "small packets of data"? Any help will be greatful 🙂
Thanks
05-22-2013 09:10 AM
Hi ,
This example shows the simple functionality of a DMA FIFO used to send data to and from an FPGA target.