View Single Post
  #15   Spotlight this post!  
Unread 23-02-2010, 07:48
rath358's Avatar
rath358 rath358 is offline
Registered User
AKA: max
FRC #0093 (NEW Apple Corps)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Wisconsin
Posts: 27
rath358 is on a distinguished road
Re: vision causes mega-lag in main loop

nathanww: Yes, we can shut off image processing. It is very easy to do so, but that is not the problem. The default code has vision running in parallel in order to prevent the main loop slowing down, but it isn't working anymore.

Last night, I spent part of my time trying to track down what is slowing up the main loop. Disabling the IMAQ find ellipses VI, for example, sped the main loop up some, but not to what it should be. Disabling other VIs within the circle finding code had similar effect. This leads me to conclude that the slowdown is not being caused by one particular thing, but by the overall load of all of the vision processing stuff.

Also, using a fresh default project, live video feed DID work with vision processing off, and the main loop code seemed to run at a normal rate.

Also, I got an error thing whenever I tried to run code. It was probably the laptop being funky, but I will post it When I get back to school.
Reply With Quote