View Single Post
  #2   Spotlight this post!  
Unread 28-01-2010, 18:38
Vikesrock's Avatar
Happy Birthday! Vikesrock Vikesrock is offline
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: Timer vi's and Watchdog

As I mentioned in your other thread, the VI you are looking for is called "Delay and Feed.VI". It can be found by going to WPI Robotics Library -> Utilities -> Watchdog. The inputs it takes are the Watchdog Device Reference, a time to delay (in seconds), a feed time (in seconds) and an error input. The outputs are the Watchdog Device Reference and an error output.

This VI will execute for the delay time feeding the watchdog at the end of each period "feed time" seconds long.

Example:
Delay time - 5 seconds
Feed Time - .1 seconds

This would execute for 5 seconds, feeding the Watchdog every .1 seconds during that time.

Make sure that the feed time you set is faster than the Watchdog Expiration. The default Watchdog Expiration is .5 seconds.
__________________


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)