01-28-2013 01:38 PM
Adding a zero timeout on the wait notification did indeed stop my acquisition as expected, thanks for all the information on use of notifiers. The only remaining problem is that even though the VI reaches the clean up code and error handler, with all loops shut down and no errors, the VI does not stop.
As this does not seem to be notifier related, I will mark this topic as solved. Thanks Mark and Nathan for your help.
Dave
01-28-2013 01:41 PM
@djroseman wrote:
The only remaining problem is that even though the VI reaches the clean up code and error handler, with all loops shut down and no errors, the VI does not stop.
That's exactly right - you didn't provide a way to stop the loop containing the event structure (unless you've changed it since your initial post). The only thing that stops that loop is an error, but that error in terminal is read only once, when the VI containing the event structure first starts. When the stop button is pushed, you need to wire a stop condition to the while loop containing the event structure, too.
01-28-2013 01:45 PM
The final piece fits into place....
I will add thanks to crossrulz too, as he did mention that right at the beginning of the thread..
Dave