LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9237 buffer overflow

Hi,

 

I am using the NI 9237 to record pressure. According to pg 8 of the user manual the minimum sampling rate achievable is 1612 Hz (n=31). I need a very large buffer to store this data. Additionally, my program is slowed down to 1/30 of it's normal speed, making experiments take impossibly long.

 

How can I make the program run at a normal speed without buffer overflow?

 

Thanks.

0 Kudos
Message 1 of 2
(1,680 Views)

Increase the number of samples you acquire every iteration.

 

Don't write to the file in the same loop you are acquiring.  Pass it to a parallel loop with a producer/consumer architecture by way of a queue.

0 Kudos
Message 2 of 2
(1,654 Views)