Go to Post We use a student coach/team captain for Team 342. This allows us mentors to sit in the pit area during competition and just relax. Watching the competition really gets our stomachs tied in knots. - cbolin [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 02-02-2010, 21:49
isaacdl isaacdl is offline
I have a white hat..it's just dirty
AKA: Isaac Dontje Lindell
FRC #3018 (Nordic Storm)
 
Join Date: Oct 2009
Rookie Year: 2010
Location: St. Peter
Posts: 32
isaacdl is an unknown quantity at this point
Exclamation Labview Watchdog issues

We are using labview and our robot is up on blocks. We started a default project that uses the arcade settings. Teleoperated works fine but when we put code in the autonomous iterative vi it goes into watchdog whenever autonomus is enabled. We have tried feeding the watchdog as well as just killing it but to no avail. Suggestions on how to make the watchdog happy.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2010, 22:27
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: 7,014
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: Labview Watchdog issues

Please search the forum using the word "watchdog" - there are several threads on this already.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2010, 02:55
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: Labview Watchdog issues

Quote:
Originally Posted by isaacdl View Post
We are using labview and our robot is up on blocks. We started a default project that uses the arcade settings. Teleoperated works fine but when we put code in the autonomous iterative vi it goes into watchdog whenever autonomus is enabled. We have tried feeding the watchdog as well as just killing it but to no avail. Suggestions on how to make the watchdog happy.
Make sure you haven't overlooked the false constant on the autonomous independent VI that the template generates. It disables all autonomous code by default. That way you don't accidentally run autonomous.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2010, 19:07
BLProgram2010's Avatar
BLProgram2010 BLProgram2010 is offline
Registered User
FRC #2534 (Robo Lake)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Baltimore
Posts: 11
BLProgram2010 is an unknown quantity at this point
Re: Labview Watchdog issues

I'm having a problem with Watchdog. Two days ago I try to run code that was working just fine but every time I hit enable on the dashboard there is a message of Watchdog not feed, and joystick won't work, The robot won't respon. I read that their was a 'bug' in NI labview, what are they talking about? How can I fix the Watchdog problem?
Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2010, 22:19
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Watchdog issues

The bug related to watchdogs is that the driver station would occasionally be late sending the control packet and the cRIO now prints messages to log the watchdog glitches, no matter how short they are.

The watchdog not being fed message tends to occur when the watchdog is enabled and actually not fed.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2010, 16:50
BLProgram2010's Avatar
BLProgram2010 BLProgram2010 is offline
Registered User
FRC #2534 (Robo Lake)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Baltimore
Posts: 11
BLProgram2010 is an unknown quantity at this point
Re: Labview Watchdog issues

Would deleting the watchdog completely from the Labview project help any? how do I go about repairing the problem (stop the watchdog glitches)?

Last edited by BLProgram2010 : 04-02-2010 at 16:52.
Reply With Quote
  #7   Spotlight this post!  
Unread 04-02-2010, 21:45
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Watchdog issues

You can disable the watchdog or you can delete the watchdog VIs. However, you may be better off determining why the watchdog is firing.

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 10-02-2010, 00:01
Vikesrock's Avatar
Vikesrock Vikesrock is online now
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Labview Watchdog issues

Quote:
Originally Posted by jhersh View Post
Make sure you haven't overlooked the false constant on the autonomous independent VI that the template generates. It disables all autonomous code by default. That way you don't accidentally run autonomous.
I am trying to help someone on another team debug a watchdog error on entering autonomous, and I cannot locate this false constant you are referring to.

I have looked in Begin.VI where the Auto mode is set, in Robot Main in the Autonomous Enable case and in Autonomous Independent.VI itself and have not been able to find a false constant that looks like it would disable autonomous code. I even checked Autonomous Iterative just to be sure.

Any hints on where I should be looking for this?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #9   Spotlight this post!  
Unread 10-02-2010, 00:29
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,590
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: Labview Watchdog issues

Quote:
Originally Posted by Vikesrock View Post
I am trying to help someone on another team debug a watchdog error on entering autonomous, and I cannot locate this false constant you are referring to.

I have looked in Begin.VI where the Auto mode is set, in Robot Main in the Autonomous Enable case and in Autonomous Independent.VI itself and have not been able to find a false constant that looks like it would disable autonomous code. I even checked Autonomous Iterative just to be sure.

Any hints on where I should be looking for this?
I think Joe was referring to the constant that was in the code last year, and during the beta this year. Since Autonomous was completely rewritten with the tracking code, it looks like that enable constant was removed and doesn't apply anymore.
Reply With Quote
  #10   Spotlight this post!  
Unread 10-02-2010, 00:38
Vikesrock's Avatar
Vikesrock Vikesrock is online now
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Labview Watchdog issues

Quote:
Originally Posted by Joe Ross View Post
I think Joe was referring to the constant that was in the code last year, and during the beta this year. Since Autonomous was completely rewritten with the tracking code, it looks like that enable constant was removed and doesn't apply anymore.
Alright that's good and bad news I guess. The good news is that I'm not blind or crazy, the bad news is the watchdog error still eludes me (I'm not a fan of remote debugging)
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #11   Spotlight this post!  
Unread 10-02-2010, 02:06
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Watchdog issues

Quote:
I'm not a fan of remote debugging
Tell me about it.

Perhaps it would help to verify in Begin whether they are using the Auto Independent or Auto Iterative. I'd suggest the independent.

Open the VI and reproduce the issue. You can put down probes, turn on exec hilighting, or pause from time to time to see where the code is. Is there a loop that doesn't feed or delay & feed?

If you get it down to that VI, post it and I suspect someone will spot the issue.

Finally, I did run into teams who simply press the Run button on auto and were surprised it didn't work. Make sure they are running auto by running main and putting the DS into auto mode.

Greg McKaskle
Reply With Quote
  #12   Spotlight this post!  
Unread 10-02-2010, 02:13
Vikesrock's Avatar
Vikesrock Vikesrock is online now
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Labview Watchdog issues

Tracking down the watchdog error isn't actually a big deal as it isn't their code causing the issue.

They put some code in Iterative, but Begin still pointed to Independent. Independent still had the default code in it so it appears that it was the default code triggering the watchdog error. While this isn't a huge deal, I am curious as to what is happening.

Taking a look at that code it seems to me like if there is no target on screen then the loop will exit the first time through (Rotate to target tries to turn to Gyro=0 and is already there) and the code will move to the arcade drive command with the 0 input.

At this point the watchdog will time out right?
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #13   Spotlight this post!  
Unread 10-02-2010, 02:30
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Watchdog issues

Technically, yes. If their auto finishes, they've said they don't want to do anything else for auto and the robot will spend that time disabled due to no watchdog.

Greg McKaskle
Reply With Quote
  #14   Spotlight this post!  
Unread 25-02-2010, 07:32
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Labview Watchdog issues

what would happen if you deleted the watchdog vi's, like Greg McKaskle suggested?
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades

Last edited by kws4000 : 25-02-2010 at 16:19.
Reply With Quote
  #15   Spotlight this post!  
Unread 01-03-2010, 15:26
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: Labview Watchdog issues

Quote:
Originally Posted by kws4000 View Post
what would happen if you deleted the watchdog vi's, like Greg McKaskle suggested?
As long as the user watchdog is disabled, then you simply reduce the safety of your robot. It if happend to be enabled, then your robot will not work. I recommend at least opening it and disabling it so that you are sure that it is not dead.
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
Labview Driver Station issues GunfighterJ NI LabVIEW 3 03-02-2010 15:02
Autonomous Watchdog Issues Rafael Vasquez Programming 3 28-01-2010 08:01
Labview issues PLEASE HELP!!!! Team 748 & 335 NI LabVIEW 4 14-01-2010 21:19
Autonomous questions (Labview) and some general issues Daniel_H NI LabVIEW 15 08-01-2009 21:07
Major CMUcam issues - LabView app won't work, very low-quality picture scottmso Programming 5 19-01-2006 17:51


All times are GMT -5. The time now is 14:47.

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