View Single Post
  #3   Spotlight this post!  
Unread 21-01-2011, 15:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,797
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: LabView Programming - Do we still need Watchdog?

Don't worry James, there is a Watchdog...

It's implemented differently this year though, so Austin, you will not be doing what you did or saw done last year.


The old Watchdog vi's are still in the palette, but I would not use them.
They are there to maintain compatibility with last year's code.

This year NI has incorporated Safety VI's that are relatively invisible to you. They are optional, but enabled on the Open Drive Motors by default (not the generic Open Motor). The implementation is better than last year's generic Watchdog.

You will see the Safety VI enable if you double-click on the Drive Open in Begin.vi.
You can enable/disable it there.

------
P.S. I'm a wee bit behind Eric, but have one note to add.

Warning:
These Safety vi's force a particular style of coding and old code may no longer work correctly.
You can no longer set and leave a motor until the next change, for instance, in an autonomous flat sequence structure.
It needs to be set and reset at a fairly rapid pace, even if you're setting it to the same value over and over again.

I'm undecided myself how or if we will use these. It can make teaching autonomous needless complex to a beginning student.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-01-2011 at 10:11.
Reply With Quote