RogerSaele Posted March 25, 2014 Report Share Posted March 25, 2014 I am making an application from which the user can choose to open several non-modal popup windows. The popup windows contain a .NET control. I believe because of this control the window takes a couple of seconds to close. This is not a problem if it happens "in the background", but it does not rather the main window freezes while any popup window is closing. The popup window VIs are reentrant and are opened using Open VI Reference with option 0x80 and Start Asynchronous Call. I understand .NET control by default runs in the UI thread, but Is there something I can do to have the main window unaffected by the closing of the popup windows? Quote Link to comment
RogerSaele Posted March 25, 2014 Author Report Share Posted March 25, 2014 I found the issue. I was closing the type specifier VI Refnum, which I apparently should not be doing. Quote Link to comment
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.