Log in

View Full Version : System WatchDog Timer


Phalanx
23-10-2012, 22:19
I've been doing some prototype and development work with regards to error handling and the like.

I understand the MotorSaftey AKA User WatchDog and that's NOT where my issue is.

I've run into the System WatchDog several times, which is fine as I was actually expecting it.

However after digging around, I couldn't find documented anywhere just how long the System Watchdog timer is or more detail criteria of it's triggers.

Anyone know?

BTW, I've read "An Overview of FRC Watchdogs" paper.

Mark McLeod
23-10-2012, 22:28
I think it's in the start communications vi (called by Robot Main).
The default is 1000 ms.

I don't have a LabVIEW computer up to check.

P.S.
DS Occurrence (1 second timeout according to old CD post) in Get Robot Competition Mode vi sets mode to "Finish" and the Robot Main vi case statement causes the program to exit. That sounds like an eStop though. I don't remember how it all fits together without walking through the logic again.

These are just shadows or reporters of the System Watchdog though, not the watchdog itself.
Ultimately, I'd expect the duration and mechanism must be embedded in the protected vi's and the FPGA image which we don't have access to.
Probably PM Greg.

Mark McLeod
23-10-2012, 23:02
Here's one of Greg's posts (http://www.chiefdelphi.com/forums/showpost.php?p=845710&postcount=6) on the topic.

Phalanx
23-10-2012, 23:15
Thanks Mark.