Hi,
I am including 3 VI programs, here main vi controls the sub vi, i mean sub vi can be stopped either from main vi or from stop button put on its front panel. Also main vi still works incase sub vi is running.
Hope it works. If above does not answer your problem completely, Pl. do write.
Best Regards,
Nirmal Sharma
India