06-15-2011 12:56 PM
I have a few programs that rely on the producer/consumer loops for image acquisition. The programs work fine with the same basic structure, except for one detail. After data capture is complete and I run the application again, the no data streams into the buffer. I have to begin acquisition again, stop it and then re run the program. Then everything is fine. I'm not sure what I'm missing as I believed that I was resetting all applicable variable to default at every startup. Any information would be greatly appreciated.
06-16-2011 10:13 AM
" the no data streams into the buffer"
What does that mean? Are you getting any errors?
06-16-2011 10:17 AM - edited 06-16-2011 10:17 AM
I *just* figured it out. There was a 'true' constant in the producer loop for some reason (bottom left corner of top loop). This froze the loop on restart after acquisition.
06-16-2011 10:47 AM
That's odd. It seemed to work at first, and now it's back to doing the same action. Will look more closely.