Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Error with Tracking

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:(IMAQdx Close Error.png

so can anyone help me with it 🙂
The VI is attached, in LabVIEW 2011

Thanks in advance

0 Kudos
Message 1 of 2
(2,909 Views)

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

 

imaqdx_error.png

0 Kudos
Message 2 of 2
(2,897 Views)