LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving an error the SECOND time I run the program

When I run grab.vi (screenshot attached) to stream from my usb camera, it works great. When I stop the program and rerun, however, I consistantly recieve the error message:

Error -1074396024 occurred at IMAQ USB Grab Setup.vi
  Error system.

IMAQ Vision:  Minimum coverage value should be greater than zero.

The only solution is to restart labview. Why is this? Thanks for your help.

David

0 Kudos
Message 1 of 5
(2,433 Views)

How are you stopping your program?  With the Stop button or the Abort VI button?

 

Typically, when things like happen it is because drivers were not closed properly.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 5
(2,414 Views)
I receive the same error regardless of whether I use the stop button or the abort VI button.

-David
0 Kudos
Message 3 of 5
(2,395 Views)

I haven't used vision so apologies if this is way off, but it looks like you are opening a reference, starting the camera, stopping the camera, but not clearng the reference...?

 

Another possibility is the while loop is iterating a bunch of times, and "enqueueing" a bunch of "take picture" events.  Try removing the while loop (for troubleshooting purposes).

0 Kudos
Message 4 of 5
(2,385 Views)

Hello drosen,

 

What version of LabVIEW and IMAQ are you using?  IMAQ for USB was deprecated and replaced by IMAQdx in 2009; it sounds like you may be running into one or more of the errors described here:

 

White Paper: NI-IMAQ for USB Cameras

http://www.ni.com/example/30030/en/ 

 

The most recent version of the Vision Development Module (which includes IMAQdx) can be found here:

http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/n8:2037,ssnav:pdl/q/imaq/ 

 

Regards,

Tom L.
0 Kudos
Message 5 of 5
(2,368 Views)