11-11-2013 10:52 AM
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
11-11-2013 12:22 PM
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.
11-11-2013 01:25 PM
11-11-2013 02:31 PM
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).
11-11-2013
04:55 PM
- last edited on
06-24-2025
01:47 PM
by
Content Cleaner
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,