Check out our General Code Repository Files. Also, before posting here, check to see if your post doesn't fit into another subforum by category.
Tags |
(This content has not been tagged yet)
|
![]() |
Jul 27 2005, 06:43 AM
Post
#1
|
|||
|
Active Member Posts: 14 Joined: 23-June 05 From: Melbourne Member No.: 2457 LV:7.1.1
|
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? ![]() ![]()
|
||
|
|
|||
| Ad |
Jul 27 2005, 06:43 AM
Post
#
|
||
|
|
|
||
|
|
|||
Jul 27 2005, 01:45 PM
Post
#2
|
|||
|
Very Active Member Posts: 236 Joined: 16-April 04 Member No.: 360 Using LabVIEW Since:2006 LV:8.5 ,. ,.
|
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.
|
||
|
|
|||
![]() ![]() |
| Time is now: 1st December 2008 - 08:09 PM |