|
Re: Feeding the Watchdog in "Periodic Tasks"
Well, I must thank you all for your quick responses.
So, the general consensus seems to be to not put watchdog into the Periodic Tasks vi or to just "disable" it all together. Considered what you all said Watchdog does, I would prefer not to disable it.
We currently have watchdog working fine in our Teleop vi and it's just been a problem with getting watchdog to work in the Autonomous Independent vi. The way I see it is to throw in a second while loop, separate from the main loop, and just tell that to feed the watchdog something like every 20 ms. (The reason it has to be separate is because the main loop will only run anywhere from 1-3 times before it exits.)
If you need it, I've included a copy of the vi that currently houses my code for the Autonomous Independent vi.
Thanks again for your responses.
Austin
|