Machine Vision

取消
显示结果 
搜索替代 
您的意思是: 

imaqdx unknown error 80040217

已解决!
转到解答

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!

0 项奖励
1 条消息(共 3 条)
7,389 次查看

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.

2 条消息(共 3 条)
7,381 次查看
解答
接受人 Oksavik

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:

 

http://translate.google.co.in/translate?hl=en&sl=fr&u=http://forums.ni.com/ni/board/message%3Fmessag...

 

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:

 

http://forums.ni.com/t5/Machine-Vision/Error-0x80040217-The-error-code-passed-into-imgShowError-is/m...

 

Some of his suggestions there would be interesting to investigate.

Collin D.
Software Product Manager
3 条消息(共 3 条)
7,368 次查看