View Single Post
  #13   Spotlight this post!  
Unread 14-03-2010, 14:43
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Watchdog not fed

All loops in the LV framework delay either until an occurrence is sent or for a timed amount. If you do not put a delay into a loop, you are informing the compiler and scheduler that it must run as fast a resources allow, which is often way faster than you need. The way to tell it how fast you need is to put in either a time delay or a notifier.

Since it isn't obvious, the LV framework suspends inside the Get Mode subVI waiting for the next packet to arrive. It does this using the Wait for Occurrence primitive. That is why no waits are inside the Robot Main loop.

Greg McKaskle
Reply With Quote