|
Re: How to Spade and Neuter the Dog
The watchdog serves an important purpose. You should have spent 7 hours restructuring your code so that it does not fire instead of turning it off.
The timeout is much longer than the normal interval between messages, around 100ms I think. It is OK to turn it off while debugging since numerous print statements, stepping through code/VIs etc will sometimes trigger it. But if it is firing in your final code, it is a BIG problem. It means your software is spending large amounts of time doing something between the calls to pet the watchdog. This is normally an indication that something else is seriously wrong, the kinds of things that can make servos act funny, cameras not respond, communications fail etc if not fixed.
Good luck.
|