I'm developping an automatic control software for a bench, and sometimes, I can't quit my application, even if I go to the source code and try to stop. I use instruments drivers, dll... Did you have the same problem? How did you resolve it? Thank you.
I would try and figure out which part of your code locks you out from quiting. Maybe placing breakpoints or placing checkpoints throughout your code and writing them to file as you enter that code segment. Otherwise, CVI should allow you to break the program execution by clicking on the message in the menu bar or your source window (or project window) that says << Running >>. Finally, I suppose you could place checks throughout your code to see if the user wants to quit. If the user does then by-pass the rest of your program and return out. Hope this helps.