09-18-2013 09:52 PM
Hi,
I am using a producer-consumer loop based on event structure-based programming. I am able to save images from the camera output but only once. To be able to save more, I have to abort the execution. And whenever, I try to update some numeral controls on the front panel, the program is freezing and I have to abort. I am uploading three snapshots.
Thanks a lot.
09-18-2013 10:19 PM
It is impossible to debug images of code. Attach your VI.
@kutal wrote:
"I try to update some numeral controls on the front panel, the program is freezing and I have to abort."
A statement like that makes me think you don't have your event structure configured properly.
Also, how many images are being placed in your queue, and how often are you dequeueing them? It looks like you could be adding a lot, and only dequeueing when you hit the save button. I bet you are flooding your queue.
09-18-2013 10:27 PM
The main VI's name is Automation. The others are sub-VIs in hierarchy.
09-18-2013 10:41 PM
You do have some of your events set to Lock the Front Panel until the event case completes. I'm suspicious that one of those are locking your front panel.
09-18-2013 10:57 PM
Nope, because I tried the program with and without locking the front panel, I can't even scroll down on the interface.