|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Labview Watchdog issues
Quote:
|
|
#2
|
||||
|
||||
|
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?
![]() |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||||
|
|||||
|
Re: Labview Watchdog issues
Quote:
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? |
|
#7
|
||||||
|
||||||
|
Re: Labview Watchdog issues
Quote:
|
|
#8
|
|||||
|
|||||
|
Re: Labview Watchdog issues
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)
|
|
#9
|
|||
|
|||
|
Re: Labview Watchdog issues
Quote:
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 |
|
#10
|
|||||
|
|||||
|
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? |
|
#11
|
|||
|
|||
|
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 |
|
#12
|
||||
|
||||
|
Re: Labview Watchdog issues
what would happen if you deleted the watchdog vi's, like Greg McKaskle suggested?
Last edited by kws4000 : 25-02-2010 at 16:19. |
|
#13
|
|||
|
|||
|
Re: Labview Watchdog issues
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |