12-17-2015 03:47 AM
Hello,
I have an USB camera (Logitech c920), that I want to use in a LabVIEW program.
I have LabVIEW 2011 SP1 with Vision Developer 2011, and IMAQdx 4.3.5 installed on two Windows 7 64 bit computers.
The installs are as far as I know identical.
The camera works fine on both computers using third party software.
On first computer I can find the camera in NI MAX, and SNAP a photo.
On second computer I can find the camera, but SNAP gives me the error:
Error 0x80040217
An undetermined error code has been encountered.
On repoeated attempts to SNAP I get the error:
Error 0x80004005
An undetermined error code has been encountered.
If I try to create a LabVIEW program, where I use the "Snap.vi" I get the following error:
Error -2147220969 occurred at IMAQdx Configure Acquisition.vi
This error code is undefined.
I have checked that the version of "IMAQdx.llb" and "niimaqdx.dll" are the same.
Can anyone help me understand what the difference is between my two computers, and why Snap works on one and not the other.
Thanks for reading!
Solved! Go to Solution.
12-17-2015 09:11 AM
Those are Windows error codes. Since your Logitech camera is supported by Logitech's drivers and DirectShow, IMAQdx is using that infrastructure to connect with the camera. Somewhere there an error is being generated. I'd suggest making sure you have Logitech's latest drivers installed. It also could be issues with differences in what system codecs are installed to support the camera's video modes. If all else fails, you may want to simply try using a different camera.
12-17-2015 04:41 PM
Hello Oksavik,
BlueCheese is right that this is not an NI error but an error generated either from Windows or, more probably, from the Logitech driver. You stated in the other forum post that the camera works in your Logitech software but it's possible that NI MAX or LabVIEW are trying to load the camera with different initial settings which could be causing the issue. I found a few things that you could try:
This translated forum post went through most of the same troubleshooting steps I would recommend:
It ended up being that the USB cable was incompatible. The other steps listed there, reinstalling the driver, reinstalling IMAQdx, etc. would be good steps to try as well.
BlueCheese handles these types of errors all the time:
Some of his suggestions there would be interesting to investigate.