05-09-2013 01:30 AM - edited 05-09-2013 01:49 AM
Hi,
I am trying to learn about a few things at once: producer/consumer, ques and notifiers. I have created a simple VI to try and understand the basic functionality of these functions. Unfortunately, I am not quite sure whats going on with my code. The que and notifier seems to work for a few cycles and then stops working. Additionally, the while loops don't all continiously execute even though I thought while loops are supposed to condiniously execute untill the stop condition is met. If anybody could explain whats going on in my code it would be appreciated. The VI is attached. BTW, I'm using Labview 8.0.
05-09-2013 04:22 AM
The best way for you to learn this is to press the highlight execution button on your block diagram then change the value of your numeric control in the front panel. You will then see what is happening. The Deque function of the queue and the notifier will force the while to pause untill there is an element to be dequeued.
I don't really want to go any deeper untill you go through the learning process alitle bit. Only then will you trully understand our explanations.
Kas