Angle Posted September 19, 2009 Report Share Posted September 19, 2009 My job as to vision system. The inspection object is Easy open End. I use the pattern match and other method. The application is running on the machine, the runtime of solve the each object is about 40ms, but accidently the value of runtime change to 130ms , after that return to 40ms. I am confused. In the application, i use many local variables, I don't konw if those local variables occupy many memory and then cause this question. Thanks Quote Link to comment
ShaunR Posted September 19, 2009 Report Share Posted September 19, 2009 Its unlikely to be a memory issue unless you are using so much the OS has to swap to disk. It is more likely a higher priority process or hardware latency is getting in the way. Disk saving is the usual cause. Next time watch the LED hard-drive indicator when you see the time jump. What is the camera interface? If you are using GigE,another cause can be packet collisions causing the camera to re-send. This will also appear as a latency causing your loop time to jump. Quote Link to comment
Angle Posted September 20, 2009 Author Report Share Posted September 20, 2009 Thanks for your reply. I use the IEEE 1394 interface. In my application , I have not save some data to disk. I delete many local variables, the frequency turns lower. I add 1G memory, but the result doesn't get well. So I am confused. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.