If I use the attached vi as a sub vi, I can get the output out of the while loop unless I'm willing to open it when I call it which I not. How to I show the indicator in calling program.
I put the vi into a case statement. The case is called the vi runs without opening it. Under this condition, I have been unable to get the changing output to the main front panel. In the vi I sent you, you can see that one indicator changes and one doesn't. When the one that does change is made to be an output of the vi, it doesn't change. If I can get the fix one to also change then I can get that output to my front panel.
Sorry for the miscommunication, take a look at the two VI's I attached. They should accomplish what you want them to do, just run the caller VI, it calls the Time To Q.vi and uses a queue to read off the value inside the while loop.
It uses queues to pass the data from the subvi to the main vi, I am sure that there are other ways to do it but this one popped into my head first. I wouldnt be surprised if someone chimed in with an alternative way to do it. But it should get the job done for you.