skfink Posted July 27, 2005 Report Share Posted July 27, 2005 Hi, in my main vi I open from a menu item an other vi (sort of dialog box (options)). If this vi closes a case structure should be executed. I tried that with an occurence and a global occurence refnum, but the global occurence refnum in the main vi does'nt change if I change this refnum in the dialog box. How could I do that? Quote Link to comment
m3nth Posted July 27, 2005 Report Share Posted July 27, 2005 I'm sure there are probably better ways than this suggestion--perhaps even your occurence might work if it was modified--this is just what comes to mind though. You can obtain an event queue with a static name const. You can also obtain the same queue by using the same name in your second VI to queue events. The queue event handler would be in the main VI to handle the case for when your second VI closes. Or you could use notifications. I believe they are the replacement for occurences. 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.