Hi Robert,
Thanks for helping me solve the reference problem. I also actually had another problem in there that I solved by finding some example code. When I had the event structure set up to recognize when the Bool Ref changed, it never fired this event and consequently never stopped the loop. I guess the reference to the boolean never does change (it always points to the same boolean), but the boolean variable referenced does. 😛 Anyways, so in order to set up an event, I'm assuming that you have to decode the value of the reference as you've done, then pass it to a stop control and then do the event on this control? Sounds like a lot of work, so I did it like the example that I found where the reference is outside the while loop, the processing to get the boolean value is in the loop, and the value is passed right to the stop condition without ever defining a stop event. Works pretty much the same. The other problem was that for whatever reason, the source that I started this code with had the button action as latched, which caused problems, LabView complained, only one of the loops stopped, etc, don't know why, so I changed it back to switched mode. Here's my working code if anyone is interested.
Thanks again Robert,
Chris