@horn wrote:
I get a message: Close Tag Engine with an marked Check button and two buttons Quit and Cancel.
If I close my application I get this message always. It doesn't matter if I use "Stop engine", "Quit engine" or "Don't shutdown".
Things may have changed in DSC 7.1, but here's a try:
Are you programmatically ending your application (using the "Quit LabVIEW" function) in your code or are you manually trying to quit LabVIEW
immediately after your VI(s) stops executing?
The 'Show Shutdown Prompt" option mentioned by tst (Tools>D&SC>Options…) specifies whether the "Stop and Close Tag Engine" dialog automatically appears when quitting LabVIEW (automatically or manually) while the Tag Engine is still loaded in memory. And it takes a bit of time for the Engine to stop and unload from memory (~5 to 10 seconds).
You can get rid of the prompt a couple of ways:
- turn off the 'Show Shutdown Prompt" option as tst suggested while keeping the "Force Engine Shutdown when LabVIEW Exits" option on;
OR
- if you are quitting your application programmatically, insert a small while loop which uses Get Engine Status.vi to monitor whether the Tag Engine is still loaded before quitting LabVIEW.
=====================================================
Fading out. " ... J. Arthur Rank on gong."