Go to Post When I invite a woman to dinner, I expect her to look at my face. That's the price she has to pay. - dlavery [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 03-07-2010, 08:06 PM
kgzak's Avatar
kgzak kgzak is online now
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 03-07-2010, 09:12 PM
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
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.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics

Last edited by Ziaholic : 03-07-2010 at 09:14 PM.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-07-2010, 09:18 PM
kgzak's Avatar
kgzak kgzak is online now
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-09-2010, 08:59 PM
kgzak's Avatar
kgzak kgzak is online now
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Watchdog

Is the watchdog suppose to timeout between Auton and Teleop? We keep getting the error in between the two.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-09-2010, 10:58 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Watchdog

Quote:
Originally Posted by kgzak View Post
Is the watchdog suppose to timeout between Auton and Teleop? We keep getting the error in between the two.
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 03-10-2010, 10:50 AM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,700
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

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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 03-10-2010, 03:36 PM
kgzak's Avatar
kgzak kgzak is online now
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Watchdog

Quote:
Originally Posted by Alan Anderson View Post
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.
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.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Watchdog Problem daniel_3158 Programming 3 02-12-2010 03:22 PM
Watchdog!?!?!?! NC GEARS General Forum 38 01-23-2010 08:52 AM
WatchDog Timeout popo308 Programming 3 02-22-2009 10:04 PM
Watchdog darty NI LabVIEW 8 02-16-2009 09:11 AM
Watchdog Barchechath Programming 6 02-10-2007 08:05 PM


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

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