07-25-2017 12:44 PM
Here are a couple of suggestions you can try, one with queues, one with user events. The queue would probably be the easiest to implement.
These are just mock ups and you would have to close the queues, user events, etc., and modify to fit your needs. LabVIEW 2015 version attached.
mcduff
07-25-2017 01:06 PM
@Ben wrote:
@rake615 wrote:
crossrulz, I have been trying to understand more about your suggestion. I have attached an image I found in the ni forums to understand and see if that is what you mean.
I do not know where you got that image from but with no timeout value wired it will never timeout.
Ben
Plus it is inside out. The state machine goes inside of the Timeout case.
07-25-2017 07:24 PM
Thank you!!
The 2 different stop solution works if I want to add another constant to my enum to generate a "stop" enqueue to stop the first loop and a "stop loop" enqueue to stop the second loop.
However, I implemented the obtain queue for each consumer loop since that is my best option in the long run.
Thank you everyone.