09-15-2017 07:18 AM
I would suggest you to try out the following approach. It is like making the time delay into small chunks of time delay within which you want your VI to respond for Stop button press.
09-15-2017 08:01 AM
Or like this (less efficient, maybe(?) a easier to grasp):
Note that this will still work when the U32 reaches it's maximum value.
09-15-2017 09:34 AM
The OP is using the LIFA toolkit running on the host computer to talk with the "sketch" (code) through serial. If I remember correctly it is set up at 9600 baud rate. Without knowing what his timing requirements are it is kind of hard to answer due to the overhead of serial comms. If it is not too demanding he could split the timing up into smaller chunks to make the user vi more responsive.