View Full Version : WatchDog Timeout
Our auto code keeps auto disabling because the watchdog is timing out
We are using LabView and we are feeding it but for some reason it is still disabling auto mode after about 1-2 seconds
Can anyone post a pic or explain how they set up there watchdog?
Thanks!
Mark McLeod
19-02-2009, 10:39
Use the default autonomous program as a guide.
It does, however, fail to feed the WatchDog immediately, so running it as is will get you the disabled blink right away.
The True/False input to the whole thing needs to be set to True for it to work.
You'll see the WatchDog is feed inside the loop that runs for 5 seconds, after which it leaves and stops feeding the WatchDog, so the blinky light will show up after 5 seconds.
Shivang1923
20-02-2009, 13:27
try using highlight execution to watch what happens with the code. From there, you can make a decision as to where to put the watchdog so the auton doesn't time out.
The way I did it is like the example, but I made subVI's (as I used the same block of code over and over again) and forced a chain through device refrences. You can also try flat sequence structures if you don't want to go through the trouble of the subVI's
DhavalVashi
22-02-2009, 22:04
if you have a lot of case structures, and you think ur code is taking too long to run within that particular case, then feed it in that case again (idk if thats allowed tho but it would probably work)
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.