LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble Accurately Saving Data Acquired From FPGA

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

0 Kudos
Message 1 of 4
(2,362 Views)

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

Stu
0 Kudos
Message 2 of 4
(2,354 Views)

How do you use a FIFO?

0 Kudos
Message 3 of 4
(2,351 Views)

I am assuming you are using an R-series board.  start with some of the examples shipped with labview.

Stu
0 Kudos
Message 4 of 4
(2,346 Views)