The "continuous run" button has no use in any serious application, something is wrong with your code.
In the simplest case, you just need another big while loop all around the code of your main VI.
(Of course the problem could be more complex. How are the subVIs called?)