Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

store data rate in CompactRio

Hi:

    My name is Manuel and I'm from Chile. Well I wrote this message, because i have some problem whit my CompactRio 9012. In particular I have to save some data, whish are sampling at 50 KSamples/second. The problem is I have 2 loop, one for read from the FIFO FPGA, and the other to save the data in a binary file. The first work exellent, but the second, when i decide to save the data, work too slow, so the FIFO RT, who transfer the data from loop 1 to loop 2, is colapsed. I make some test, and I think the problem is in the data rate used for transfer the data between de Vi and the hard disk. Well I will be attentive to your answer.

Manuel Yáñez Molina
manyanez333@gmail.com
0 Kudos
Message 1 of 4
(4,633 Views)
Are you using DMA to transfer the data from FPGA to RT?  The DMA read is blocking, so you need to put some wait in the DMA read RT loop so the file write loop has time to execute.
Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc
0 Kudos
Message 2 of 4
(4,625 Views)

Repeated Post: http://forums.ni.com/ni/board/message?board.id=280&message.id=3265#M3265

Best Regards

Benjamin C
Principal Systems Engineer // CLA // CLED
0 Kudos
Message 3 of 4
(3,815 Views)
HI:

        Thanks for your help, but those tutorials are too basic, and they use a PXI. In my case I'm using CRio. I let you my Vi for your inspection. Thanks
0 Kudos
Message 4 of 4
(3,734 Views)