I'm agree with hooovahh, you need to follow some training on Labview. think about state machine. it might help you to refactor your code.
Your timer could be in a global functional (sub vi with a while loop that stop imediately and a shift register) so it can be called everywhere in your code and wont stp any process.