I basically have a counter that is inside a while loop. I want the counter to perform 2 functions in my program.
First, when the count reaches a predetermined value, a sub vi must be triggered.
Second, when the count reaches another value, the execution of the sub vi must be terminated.
It is important that the counter run continously (it is an encoder value for posistion). How do I access the value of the counter from outside the while loop, while the loop is still running?
Thanks,
Jordan