Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Watchdog Problem (http://www.chiefdelphi.com/forums/showthread.php?t=89252)

AB Steven 16-01-2011 10:00

Watchdog Problem
 
Yesterday our team updated all of our computers to Labview 2011 and updated our classmate with the FRC flash drive we got. We tried out the sample drive code and our driver station told us that watchdog wasn't being fed. We also tried some of our own code and still were told watchdog wasn't being fed. Does anyone know how to fix this?

DonRotolo 16-01-2011 12:30

Re: Watchdog Problem
 
Welcome to ChiefDelphi.

I'm not a programmer, but maybe the answer is "Feed the watchdog"?

Use the Search feature in the orange band at the top to find the hundreds of threads on this topic from the last 2 years, surely one of them will have your answer. I recommend doing this.

AB Steven 16-01-2011 18:31

Re: Watchdog Problem
 
They were supposed to remove watchdog with the 2011 updates. Also, why would the example code that is supposed to run the motors not feed the watchdog if we needed to?

Mark McLeod 16-01-2011 19:37

Re: Watchdog Problem
 
Try this to narrow down the problem.
  1. Open the block diagram for Begin.vi
  2. Double-click on Drive-Open 2 Motors and open it's block diagram
  3. Change the "enable" input in the center of the screen to "disable"
Run that code to see if the Watchdog message goes away.

Joe Ross 16-01-2011 20:01

Re: Watchdog Problem
 
Quote:

Originally Posted by AB Steven (Post 1000963)
Yesterday our team updated all of our computers to Labview 2011 and updated our classmate with the FRC flash drive we got. We tried out the sample drive code and our driver station told us that watchdog wasn't being fed. We also tried some of our own code and still were told watchdog wasn't being fed. Does anyone know how to fix this?

After you installed LabVIEW from the DVD and reimaged the classmate with the usb stick, did you install the labview, utilities, and driver station update and reimage the crio?

jhersh 17-01-2011 02:31

Re: Watchdog Problem
 
Also, make sure you are creating a new robot project after having installed all the needed updates listed above. If you have an old project, then it may be enabling the watchdog.

-Joe

AB Steven 19-01-2011 17:59

Re: Watchdog Problem
 
Quote:

Originally Posted by Mark McLeod (Post 1001336)
Try this to narrow down the problem.
  1. Open the block diagram for Begin.vi
  2. Double-click on Drive-Open 2 Motors and open it's block diagram
  3. Change the "enable" input in the center of the screen to "disable"
Run that code to see if the Watchdog message goes away.

We disabled that and it still doesn't work. We also added watchdog blocks in teleop and in Robot main, and still no luck. Any more ideas?

jhersh 19-01-2011 18:19

Re: Watchdog Problem
 
What exactly is the error message you are seeing now?

AB Steven 19-01-2011 18:34

Re: Watchdog Problem
 
Quote:

Originally Posted by jhersh (Post 1003752)
What exactly is the error message you are seeing now?



Theres a screenshot of our driverstation.

We did what Mark said, tried a brand new default drive code, and it didn't work. We tried reimaging the cRIO, and the cRIO imaging program tells us that the reimage is complete and successful. But, when we restart the robot our old code from before we updated everything to 2011 is there and still works. Could the problem be that the cRIO isn't reimaging correctly?

jhersh 19-01-2011 18:52

Re: Watchdog Problem
 
Quote:

Originally Posted by AB Steven (Post 1003770)
We did what Mark said, tried a brand new default drive code, and it didn't work. We tried reimaging the cRIO, and the cRIO imaging program tells us that the reimage is complete and successful. But, when we restart the robot our old code from before we updated everything to 2011 is there and still works. Could the problem be that the cRIO isn't reimaging correctly?

Try this... in Begin, place an open watchdog VI and configure it to be disabled.

AB Steven 19-01-2011 18:55

Re: Watchdog Problem
 
OK SO our reimagers were keeping the 2010 image instead of defaulting to 2011 now everything is working thanks everyone for posting ideas.

MaxMax161 20-01-2011 08:17

Re: Watchdog Problem
 
We had the same problem and we fixed it by rewriting all our code in a new robot project. After that we didn't get anymore watchdog errors. If you do end up doing this make sure to find all the .vis in labview again and not copying them from old/other code.

Your only other option is to convert this file to a binary and push it to the crio. http://dogfoodchat.com/wp-content/up...3/Dog-Food.jpg


All times are GMT -5. The time now is 10:09.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi