05-24-2006 10:19 PM
05-25-2006 07:38 AM
See the producer consumer model of programming. It is best to extend this program by adding a second loop(thread) and after reading your data send it to the analysis loop for processing with a queue. The buffer overrun is due to the data not being raed from the buffer fast enough. Your processing is slowing down your DAQ loop.
Paul
05-25-2006
12:53 PM
- last edited on
12-02-2025
12:00 PM
by
Content Cleaner
Hello Nick,
You can monitor the number of samples available to read using the DAQmx Read Property Node, under Status >> Available Samples Per Channel. Also, here's a Tutorial on the Producer/Consumer Model.
Let us know if you are still running into problems after implementing that model.
Regards,
Micaela