LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Queue and Image Saving

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.

0 Kudos
Message 1 of 5
(2,741 Views)

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.

0 Kudos
Message 2 of 5
(2,730 Views)

The main VI's name is Automation. The others are sub-VIs in hierarchy.

0 Kudos
Message 3 of 5
(2,725 Views)

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.

 

0 Kudos
Message 4 of 5
(2,720 Views)

Nope, because I tried the program with and without locking the front panel, I can't even scroll down on the interface.

 

 

0 Kudos
Message 5 of 5
(2,714 Views)