|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
Quote:
If the cRIO feeds the user watchdog in TeleOp, and TeleOp is executed only when the Classmate sends a DS packet, can't the behavior of the Classmate affect the user watchdog? ~ |
|
#2
|
|||||
|
|||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
Depends on how the Teleop calls are implemented. If Teleop is simply called on a 50hz timer, or called only when a new DS packet arrives?
I'd have to look. Also depends on how and where the Watchdog is included. Just in Teleop or in periodic tasks and elsewhere as well. I see many people dropping Watchdog feeds helter skelter until the Watchdog warning goes away... Last edited by Mark McLeod : 09-04-2010 at 10:45. |
|
#3
|
||||
|
||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
Quote:
Quote:
~ |
|
#4
|
|||||
|
|||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
Thinking about it, I don't believe we'd see "Watchdog not fed" from slow Classmate transmission packets regardless of how Teleop is implemented.
I think the Classmate would have to completely freeze up before the lack of the packet transmission heartbeat would cause the User Watchdog in Teleop to react. Long before that occurred I believe a System Watchdog would be thrown for lack of communication and we'd see a whole different error message displayed on the DS. Last edited by Mark McLeod : 09-04-2010 at 10:56. |
|
#5
|
|||||
|
|||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
Quote:
Get Competition Mode waits for a DS Occurrence, which I assume to be the arrival of a new packet. It's got a drop-dead timer of 1 second associated with it, i.e., no packet = mode goes to finish and terminates the user program. If this happened and communication was subsequently restored, we'd see the "No robot code" red light appear on the DS. The only recovery would be to reboot the robot. Last edited by Mark McLeod : 09-04-2010 at 14:17. |
|
#6
|
||||
|
||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
Quote:
~ |
|
#7
|
||||
|
||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
User watchdog is .5 seconds, or 500ms.
System watchdog uses a TCP connection between the DS and the cRIO. (I don't know what the timeout period is, but when it times out, your DS will say there's no robot connection) Last edited by kamocat : 09-04-2010 at 12:49. |
|
#8
|
||||
|
||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
Much longer than I expected. Can you provide a link to where this is documented?
Thanks. |
|
#9
|
|||||
|
|||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
As with almost everything in LabVIEW, it's documented right where you would use it. In this case, that's the Watchdog Open vi. With "hover help" active, you'll see the default "Expiration (0.5s)" shown. The "Detailed help" link explains it completely.
|
|
#10
|
||||
|
||||
|
Re: Working code in Windows shows 'Watchdog Not Fed' once deployed
Quote:
I'll ask a LabVIEW programmer to show this to me next week at the next team meeting. ~ |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Watchdog not fed | brianelite | C/C++ | 12 | 14-03-2010 14:43 |
| Watchdog Not Fed! | masoug | C/C++ | 5 | 24-02-2010 19:59 |
| Autonomous Independent Code Issue Watchdog not fed | pilum40 | FRC Control System | 0 | 11-02-2010 12:00 |
| Watchdog Not Fed but, All Systems Are Go. | DHSrobotics | Java | 4 | 24-01-2010 22:01 |
| Watchdog not fed | ahudson | Programming | 1 | 22-01-2010 11:26 |