View Single Post
  #2   Spotlight this post!  
Unread 07-02-2011, 07:46
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: Location of Image Sending to dashboard/Making labview more efficient

If you turn the button off on the dashboard, the code on the cRIO that sends images will be blocked and will not do any further work. It is possible to remove the code, but that won't make it any more CPU efficient.

As for the performance issues, it may be a good idea to go into detail about what the steps are. Also, since the vision loop runs even when the robot is disabled, this gives you the chance to easily observe what is going on and debug.

It may be good to start with the tutorial on the Getting Started window that leads you through troubleshooting including performance issues. In particular, there is a VI you can drop into the vision loop and into other loops, each with a different string. Each time it is called, it records the elapsed time, and you can open the window to see the timing of various loops. Other options are to use the Performance Profiler.

Greg McKaskle
Reply With Quote