LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resetting IMAQ

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.Capture.PNG

0 Kudos
Message 1 of 4
(2,370 Views)

" the no data streams into the buffer"

 

What does that mean? Are you getting any errors?

0 Kudos
Message 2 of 4
(2,360 Views)

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.

0 Kudos
Message 3 of 4
(2,357 Views)

That's odd. It seemed to work at first, and now it's back to doing the same action. Will look more closely.

0 Kudos
Message 4 of 4
(2,352 Views)