If a main VI will call a subVI the main VI will stop to execute code when it needs the output of the subVI. At this time the main VI will wait until the subVI completes and returns. On the front panel it seems like the main VI will freeze.
You can avoid this if you put the code of your main VI in a while and the code calling your subVI into another while loop. Besure to have no data flow between the two while loops. To transfer data between the loops, e. g. state of the activation button, use a functional or LabVIEW2 global. This way your main VI will keep on updating while your subVI will do it too.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions