Xavier,

You wrote:

...I have tried to update my LV Vi design style to keep up with the new
functionalities like User Event Handling...
I have a main Vi (call it TopLevel.vi) that dynamically launches subVis
on user demand (call them subViN.vi, N=1,2, etc). The user plays with
the subVi, and one action requires the main Vi to be updated somehow ...
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...

Can't you create and register a user event (or multiple user events) in the main VI and pass the appropriate user event reference to each subVI as it is launched? Each subVI then generates the appropriate user event at the appropriate time and the event structure in the main VI responds.


--
        EnWirementally,
        Paul F. Sullivan

----------------------------------------------------

        SULLutions              (781)769-6869
        "when a single discipline is not enough"

        visit http://www.SULLutions.com

----------------------------------------------------




Reply via email to