I have a program that I've been using for a few years. While it may not be the cleanest way of doing it, I think it always worked "correctly".
Recently, I've had to change the runtime to be (90,000 milliseconds) longer than a 16 bit integer could handle, so I rewrote it with a 32 bit integer.
Watching it on a trend view, it only seems to run for 25 seconds.
Logic attached. It's "triggered" in a Program, and executed in BottomOfScan
What am I missing here?
What is a cleaner way of accomplishing my goal? I want it to run for a precise amount of milliseconds, have a manual/prime function (MC807), and a Kill in case of an Abort.
Thanks!