08-30-2011 09:06 AM - edited 08-30-2011 09:07 AM
In your program, if the data is not being consumed from the Queue, the Queue can keep growing. In your case, it will not take long for memory to get saturated. You are using a very high acquisition rate, and taking 1000 samples off 8 channels. In your case, that's 8000 floating point numbers being sent to the queue 10 times a second. With that fancy datatype, even more than 8000 numbers.
I can't tell how the buttons should be used in your program, so maybe there is a chance for a runnaway queue build.
Try setting your queue to a maxiumum size of 8 or 16 (it is on infinity now), run your program, and see how that works.