It would be nice to take a look at the code, but, if I understood well, you can enclose the whole code inside while loop in a case structure (case False) and connect the Stop button to the case input. I'm not sure this is simpler than your solution, it only prevents the code to be uselessly executed. What do you mean with "
the stop button is latched"?Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021