05-22-2012 07:45 AM
Hello Everyone,
I'm trying to build a simple object tracking using webcam which first take a snap to define ROI for the tracked object then identify it after that it can be tracked.
but when trying to test it, it didn't work as supposed and i'm done with it:(
finally when stopping it, this error appeares to me:(
so can anyone help me with it 🙂
The VI is attached, in LabVIEW 2011
Thanks in advance
05-23-2012 05:45 PM
Hi 32836,
It looks like the problem is that you have unwired loop tunnels in the "Stop" case of the event handler. Thus, when the stop button is pressed, the while loop terminates and the reference to the IMAQdx device is unwired, causing the error to occur. Please wire the camera and error wire through the event structure (see below).