Thread: List priority?
View Single Post
  #4   Spotlight this post!  
Unread 10-02-2012, 08:29
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,751
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: List priority?

The support folder in the project contains a VI called Elapsed Times. If you drop that subVI into the major portions of your code such as Teleop, Vision loop, and any Periodic loops that are used, you can then run your code and open the Elapsed Times VI. The array on the panel will show you the time between subsequent calls. You may find that some loops are running much faster than you intended and stealing CPU from the ones you care about. You may also find that the watchdogs correspond to a specific action of the driver that calls into code that competes or delays the normally scheduled code.

Greg McKaskle
Reply With Quote