Go to Post The programmers tend to get less credit than they deserve, but the robot wouldn't run if we weren't there. :) - IMDWalrus [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-01-2011, 10:00
AB Steven AB Steven is offline
Registered User
FRC #0245
 
Join Date: Jan 2011
Location: Michigan
Posts: 15
AB Steven is an unknown quantity at this point
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2011, 12:30
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,995
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
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.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2011, 18:31
AB Steven AB Steven is offline
Registered User
FRC #0245
 
Join Date: Jan 2011
Location: Michigan
Posts: 15
AB Steven is an unknown quantity at this point
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?
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2011, 19:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2011, 20:01
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Watchdog Problem

Quote:
Originally Posted by AB Steven View Post
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?
Reply With Quote
  #6   Spotlight this post!  
Unread 17-01-2011, 02:31
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
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
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2011, 17:59
AB Steven AB Steven is offline
Registered User
FRC #0245
 
Join Date: Jan 2011
Location: Michigan
Posts: 15
AB Steven is an unknown quantity at this point
Re: Watchdog Problem

Quote:
Originally Posted by Mark McLeod View Post
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?
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2011, 18:19
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Watchdog Problem

What exactly is the error message you are seeing now?
Reply With Quote
  #9   Spotlight this post!  
Unread 19-01-2011, 18:34
AB Steven AB Steven is offline
Registered User
FRC #0245
 
Join Date: Jan 2011
Location: Michigan
Posts: 15
AB Steven is an unknown quantity at this point
Re: Watchdog Problem

Quote:
Originally Posted by jhersh View Post
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?
Reply With Quote
  #10   Spotlight this post!  
Unread 19-01-2011, 18:52
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Watchdog Problem

Quote:
Originally Posted by AB Steven View Post
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.
Reply With Quote
  #11   Spotlight this post!  
Unread 19-01-2011, 18:55
AB Steven AB Steven is offline
Registered User
FRC #0245
 
Join Date: Jan 2011
Location: Michigan
Posts: 15
AB Steven is an unknown quantity at this point
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.

Last edited by AB Steven : 19-01-2011 at 19:01.
Reply With Quote
  #12   Spotlight this post!  
Unread 20-01-2011, 08:17
MaxMax161's Avatar
MaxMax161 MaxMax161 is offline
Allegedly Useful
AKA: Max Llewellyn
FRC #2791 (Shaker Robotics), FRC #1676 (Pascack π-oneers)
Team Role: Mentor
 
Join Date: Nov 2009
Rookie Year: 2008
Location: Montvale NJ\Troy NY
Posts: 174
MaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond reputeMaxMax161 has a reputation beyond repute
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
__________________
2791 Shaker Robotics (2013-present)
--Control Systems Mentor 2013-present
--Drive coach 2015-present

1676 The Pascack π-oneers (2010-2013)
--Drive coach 2011-2013
--Lead Programmer 2011-2013
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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