LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

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)
 
Reply to this topic Start new topic
> triggering an other vi's occurence
skfink
post 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
Australia Germany Nothing Selected


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?

Attached ImageAttached Image
Attached Image


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Jul 27 2005, 06:43 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
m3nth
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 ,. ,.
United States Nothing Selected Nothing Selected


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.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 1st December 2008 - 08:09 PM