08-18-2016 09:45 AM
Hi everybody,
I'm trying to acquire data at a frequency of 50 Hz (random numbers for this test) and sending to a lower loop with a producer-consumer architecture. I would like to change my saving file after 20 seconds (or N seconds) automatically.
I set a saving botton and a stop one but, if I press the Stop botton, my VI doesn't close.
I really don't know which could be the problem.
Thank you in advance!
Solved! Go to Solution.
08-18-2016 09:52 AM
Hi Lorenzo,
the "Dequeue Elelement" block doesn't have a defined timeout value. The default one is -1 which means it will wait indefinitely for the incoming elements from the upper loop. So if you stop the upper loop, the lower one will keep waiting until you press "Abort" 🙂
08-18-2016 11:24 AM
Thank you very much!