05-02-2011 02:33 PM
I am collecting three channels of data from an outside source by an FPGA and then displaying the data on my host program at 50,000Hz per second through a waveform graph. I am also trying to save this data to file. Currently, I am converting the input array into dynamic data, and then using a Write To Measurement file VI to save this data. However, when I look at the files saved, the data is not being saved at 50,000Hz, only approximately 20-30 data points are being saved per second, and at seemingly random intervals.
How can I fix this so that I can save data at 50,000Hz, which is the same rate at which I am collecting it?
Thanks
05-02-2011 04:47 PM
without code, it is impossible to tell. most likely, you are not using a FIFO to get the data from the FPGA to windows to graph and stream to disk. if you are it is most likely an error in the servicing of the FIFO
05-02-2011 05:30 PM
How do you use a FIFO?
05-02-2011 06:04 PM
I am assuming you are using an R-series board. start with some of the examples shipped with labview.