I have a while loop that executes until a certain flag comes up. I have two such loops for two different modes. So at any given point i time my program is in one of the two loops. I want a boolean button that gets read for each iteration of either loop. If I put it outside of the loops it just gets read at the beginning of the program execution and while the vi is in one of the loops it will not get checked. And if I put it in one of the loops obviously it can't get checked by both. If possible could someone post an example vi or point me the right direction?
I've only been using labview for a week and normally I just plan around things like this but I've already written a large program and didn't plan for this button. I also realize that I should NOT have to plan around little things like this, but Im still getting used to this kind of programming and don't really have a good grasp on the flow of things and am missing a lot of fundemental knowledge that would help me with things like this.
I'd be glad to post an example vi. I need to keep working though
🙂 Let me know if I'm not being clear and I'll go make one.
Thanks
Cason Clagg
SwRI
LabView 7.1, Windows XP