I have a button on my main.vi.  I have an event structure on the
diagram.  When I get the button->value change event, I execute my sub_vi
by dropping the sub_vi on the diagram in the event structure.  I assume
the main.vi is waiting for that sub_vi to exit or return because main.vi
doesn't process events until I close the sub_vi.  I'd like to be able to
switch back and forth between the two vi's and have them process events
as I make them...

tmh wrote:
> 
> What is it that stops your calling VI from continuing to run while the
> subVI also runs? LabVIEW code only waits for a subVI call to finish if
> you have made it do so by some kind of data dependency.
> 
> If your problem is that you need to pass data to/from a running subVI,
> you might want to look at using queues, notifiers or globals.

Reply via email to