Go to Post Not every team can start 200 teams in Canada or Hawaii because they are located in relatively dense region of teams already. This doesn't mean they can't impact their local and surrounding areas. This is where you have to be creative. - tim-tim [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-02-2009, 23:04
popo308's Avatar
popo308 popo308 is offline
Registered User
AKA: Brent
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Winnebago, IL
Posts: 312
popo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to all
Send a message via AIM to popo308
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   Spotlight this post!  
Unread 19-02-2009, 10:39
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,695
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 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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 20-02-2009, 13:27
Shivang1923 Shivang1923 is offline
I make robot go VROOM VROOM!
FRC #1923 (MidKnight Inventors)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: West Windsor, NJ
Posts: 38
Shivang1923 has a spectacular aura aboutShivang1923 has a spectacular aura about
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   Spotlight this post!  
Unread 22-02-2009, 22:04
DhavalVashi's Avatar
DhavalVashi DhavalVashi is offline
Registered User
FRC #1241 (Theory 6)
Team Role: Programmer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Mississauga, ON, Canada
Posts: 9
DhavalVashi is an unknown quantity at this point
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)
Closed Thread


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 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


All times are GMT -5. The time now is 07:35.

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