10-20-2010 11:55 AM
Hello fellows
I have a problem that I don't know what to do.
I have a main vi that has a while loop and an event structure that controls all my commands in the panel that has a clock information too.
When I active a menu option, I call a sub-vi that will receive data to the main vi.
What a I want to do is, when I call the sub-vi, the clock in the main vi don´t stop and when I finish typing data and press OK, this sub-vi closes automatically and the main vi keep on running.
I am using LV 86
Thanks to all
10-20-2010 01:16 PM
Your question has been asked many times before. You either need to call your subVI dynamically or you need to set up a producer consumer loop so that the event structure (producer) can run parallel to the consumer loop which would actually call the VI.
To learn about the producer-consumer loop please look at the KB article: Application Design Patterns: Producer/Consumer
To launch a VI dynamically please look at the shipping examples on the VI Server. If you do a forum search on popup you will find many threads discussing this as well.