|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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! |
|
#2
|
|||||
|
|||||
|
Re: WatchDog Timeout
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. |
|
#3
|
|||
|
|||
|
Re: WatchDog Timeout
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 |
|
#4
|
||||
|
||||
|
Re: WatchDog Timeout
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)
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Watchdog | darty | NI LabVIEW | 8 | 16-02-2009 09:11 |
| error 5101 : Timeout | Wynlyndd | LabView and Data Acquisition | 3 | 31-01-2006 14:05 |
| Timeout!! | Ricky Q. | Rules/Strategy | 19 | 01-04-2004 22:03 |
| Microsoft Timeout | AJ Quick | Regional Competitions | 12 | 09-03-2003 17:38 |
| Timeout Ruling Discussion | ram | Off-Season Events | 4 | 29-11-2001 13:38 |