|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Watchdog
We keep having Watchdog issues. We only have one Watchdog, between Autonomous and Teleop, but it causes us to not be able to run anymore. We have tried everything to fix it and still no luck. We ran the sample code and still we get a watchdog. We have swapped out the cRIO, still no luck. When we are running in the pit or on the practice field it does no affect us but when we go out on the actual field we get the watchdog and than we can't move anymore. Anyone have the same problem and figured out a way to resolve it? We had multiple teams try to help. We also had a National Instruments person try to help and still nothing.
|
|
#2
|
||||
|
||||
|
Re: Watchdog
I noticed something similar in our code this weekend. It was when I would enable/disable into and out-of autonomous.
My fix was looking into what I was doing within the INIT and STOP cases of the Auton and TeleOp and Disabled VI's. You get one execution of either one, every time you enter/exit those VI's. Make sure you're not doing stuff in there that might take too long. My problem was accessing resources that weren't present (i.e. when the camera or gyro wasn't connected). When I eliminated those references, my watchdog errors disappeared. Last edited by Ziaholic : 07-03-2010 at 21:14. |
|
#3
|
||||
|
||||
|
Re: Watchdog
I'll look into that but I don't think we do anything there. Even the out of the box code doesn't work. We open a new project and don't change anything, still watchdog.
|
|
#4
|
||||
|
||||
|
Re: Watchdog
Is the watchdog suppose to timeout between Auton and Teleop? We keep getting the error in between the two.
|
|
#5
|
|||||
|
|||||
|
Re: Watchdog
Look at what your code does in Autonomous. If it completes its task before the 15 seconds are up, does it keep feeding the watchdog? The default LabVIEW project doesn't.
|
|
#6
|
|||||
|
|||||
|
Re: Watchdog
It's okay to throw a user Watchdog in Autonomous if you aren't doing anything. Watchdogs aren't bad in and of themselves.
A Watchdog during Autonomous (after you finished doing anything) doesn't prevent Teleop from starting (as long as Teleop feeds the Watchdog). It's when you throw one and you were supposed to be doing something, then that's a problem. |
|
#7
|
||||
|
||||
|
Re: Watchdog
I'll look into it. But we ran an autonomous that all it did was feed the watchdog and still had issues. I may have screwed something up though.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Watchdog Problem | daniel_3158 | Programming | 3 | 12-02-2010 15:22 |
| Watchdog!?!?!?! | NC GEARS | General Forum | 38 | 23-01-2010 08:52 |
| WatchDog Timeout | popo308 | Programming | 3 | 22-02-2009 22:04 |
| Watchdog | darty | NI LabVIEW | 8 | 16-02-2009 09:11 |
| Watchdog | Barchechath | Programming | 6 | 10-02-2007 20:05 |