Jump to content

Messenger Library (Subpanel Caveats)


Recommended Posts

Posted

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. 

image.png.f68024c3196977ba25896588b629c49a.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.