|
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.
|