Xavier,

I have implemented what you ask for. It was done in an attempt to integrate messaging 
within the event structure of the Main Menu VI
without having to create a separate queue handling loop. You can see my approach here:

<http://forums.lavausergroup.org/index.php?showtopic=415>

Hope this helps.
Michael Aivaliotis 

> I thought initially that the dynamic event registration feature would 
> help me do this in a more elegant way, but I can't figure out how, so 
> maybe I am just wrong. What I would need is some sort of event 
> registration in the TopLevel.vi that would be fired in the 
> subVis. But 
> since the subVis are not started until possibly very late in the 
> execution process, this cannot be done at launch time in the 
> TopLevel.vi. Somehow I would need to have an intermediate Vi (call it 
> Dummy.vi) that would run before the TopLevel.vi, start it and 
> pass a set 
> of dynamic event references, then hide somehow. When a subVi 
> would start 
> and need to communicate some event to the TopLevel.vi, it 
> would in fact 
> first trigger an event (again, Value change in the Dummy.vi 
> ?), that in 
> turn would have the Dummy,vi fire one of the events 
> registered with the 
> TopLevel.vi.



Reply via email to