I have a code which programmatically increments a Numerical indicator by 1. I have this code in a case structure that is outside a While Loop that contains my other code. However, I want the increment only at the end of the run, that is when I press the STOP button. I don't want the value to increment when I press Ctrl + R. Currently, my vi increments when I press the Ctrl + R to start my application. What can I do to make it increment only when I press the STOP button to stop the application?
Thanks in advance.