08-19-2010 09:58 PM
Hi all
I found this idea to initiate and stop an external loop from an event structure. Unfortunately I can only start the external loop. I would like to know how i can stop it using the code in the snippet attached. If anybody has a better idea to achieve the same result i would greatly appreciate it.
08-19-2010 11:16 PM
can you attach your vi and tell some more about this
08-19-2010 11:46 PM
All that I see in the diagram is some sort of 'messaging engine' using a queue? Since we are seeing the messaging source and not the sink, how can we even attempt to help solve the problem of why the sink is not working?
08-20-2010 12:01 AM
here is the sink
08-20-2010 12:20 AM
Assuming that this works as you described in the original post, and withholding comments about style, what I noticed is in your dequeue while loop for queue index 0. You are not processing the information from your queue. You check to see if there is an error, and if there is then you send a False to some user event. I am assuming that the 'no error' case is sending a True. If that is the case, the False information being sent from the source into the queue (which, if I am guessing correctly) is not being processed at all.