viSci Posted 57 minutes ago Report Posted 57 minutes ago I use subpanels frequently for UI management of instrument actors in a large SCADA application. Everything works well until shutdown of the top level actor. I am seeing some evidence that the child actors running in subpanels do not shutdown gracefully. For example in the cleanup case of my subpanel actors I have the following code which attempts to save the actors control settings to an ini file. This works fine in the IDE but fails in a built exe. As far as I can tell the vi reference is still viable at the start of the Cleanup case but the ini file does not get written to. Subpanel references are handled by the messenger framework automagically so I am wondering if there might be something going on I need to consider. Also I added the Save Default Profile message which I can call from the top level prior to shutdown and that seems to work in the exe. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.