Quote:
Originally Posted by Mark McLeod
I've had a chance to look at your auto code and you need Watchdog Feeds in each of those interior While loops where you wait around for the Ball Sensor to trip or the Kicker Limit Switch to say you've completed your kick. You also need a Watchdog Delay & Feed wherever you do a timer wait, e.g., the one for 100ms.
In fact you probably should throw delays into each of those interior While loops to free up the CPU a bit to allow parallel tasks (such as the Watchdog) time to execute too. That'd mean doing Delay & Feeds rather than Feeds there.
|
Thanks Mark.
I hope that this all works. I should be able to test it out on the robot in a few days so I'll definitely keep you all posted if there are any errors. Also, as a final check, here's a copy of the revised vi. (I took your advice in using Delay and Feeds as opposed to just Feeds.)
Again, thanks for the help and hopefully all will work well!
Austin