02-15-2020 02:00 PM - edited 02-15-2020 02:01 PM
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.
02-15-2020 02:43 PM
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.