Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Camera problem: Error 0x80004005 on MAX

Hi there,

I have a Basler  acA2000-340kc, and it's not working on a Windows 7, 64 bits computer.

I believe the NI-IMAQdx driver is properly installed, but the camera apperas on NI MAX with a red circle with white X on it as Basler GenICam Source, displaying Error 0x80004005. The error coded passed into imgShowError is unknown.

I can't really find the origin of this problem.

Thanks a lot for your help.

0 Kudos
Message 1 of 11
(9,685 Views)

You need the IMAQ driver installed (not IMAQdx) to work with the camera link camera. Can you reinstall the Vision Acquisition Software and make sure the camera shows up under the NI-IMAQ folder?

 

Also, make sure your Camera Link card has been installed and detected correctly by the OS. You can do this under Devices in Control Panel.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 2 of 11
(9,672 Views)

Hi,

thanks for the answer.

I reinstalled all the drivers, so I have IMAQ 4.8, IMAQ I/O 2.8 and IMAQdx 4.3 installed (appear in software folder in MAX).

The Camera Link card is an FPGA and is correctly instaled in the OS, as it appears in the devices manager (not the camera).


The camera icon that appears in the NI-IMAQ folder in MAX is probably an artifact of the Pylon software that comes from the camera, as it dissappears when uninstalling Pylon. I think thus, that the camera is not detected by the OS for some reason...

Any clues?

Thanks a lot

0 Kudos
Message 3 of 11
(9,669 Views)

Ah you are working with the FPGA Camera Link card. The camera will not show up under the NI-IMAQ folder but it should appear under Devices and Interfaces -> RIO Devices if you have installed correctly.

 

If you want to interact with the camera, you will have to do so through LabVIEW FPGA. Also, the 1473R card can currently only be accessed with LabVIEW 32-bit.

 

Also, please read the following:

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/My-Basler-acA2040-180km-NIR-is-not-visible-in...

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 4 of 11
(9,657 Views)

Ok,

so the FPGA is correctly installed in the computer, but I think there may be some issue with its connection with the camera. I'm using NI PCIe-1473R. In MAX, it appears as NI PCIe-1473 "RIO0", but the camera does not appear. Does this mean that is not correctly installed??

 

Also, I'm using some LabView software, like 1-TAP 8 bit Camera with centroid. And there seems to be some response from the camera. The first time I try to acquire a frame,an error appears: Error 8999 with Acquisition Initialization. From then, the program seems to  acquires frames, but just empty frames, although there is some dependence with lighs, as some white or black lines appear depending on the amount of light (but definitely not the centroid).

 

I'm using LabView 32-bit, do you think there can be some problem due to using a 64 bit computer?

Thanks a lot,

0 Kudos
Message 5 of 11
(9,639 Views)

Look at the link that I have in my post. It says:

 

The NI PCIe-1473R Frame Grabber contains a reconfigurable FPGA in the image path enabling on-board image processing. This means that the full communication between the camera and the frame grabber goes through the FPGA. It is then a major difference comparing to the other standard frame grabber without FPGA.  It means also that the camera will not shows up in Measurement & Automation Explorer. With this frame grabber, you have to build and use an FPGA VI to use the camera.

 

I'm not sure why you are getting that error. Are you getting that error in LabVIEW? There should be no problem using LabVIEW 32-bit on a 64 bit.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 6 of 11
(9,637 Views)

It's really strange,

The camera is on (green LED light), and I'm actually getting some response from it, as I can adquire frames, which depend on the amount of light (I send you one example).

Nevertheless I;m not sure this is what I shoulod get. How can I control the parameters concerning the camera (exposition time, frame size...)?

 

The error appears in LabView when I first use a code, then it doesn't appear again, and keeps on adcquiring frames like the one I send you...

0 Kudos
Message 7 of 11
(9,631 Views)

Hi i.popa,

 

The forum thread that AdnanZ linked to has more information on how to control the camera parameters like exposure time and frame size. We have a document that explains communicating via serial with Vision-RIO, and a community example showing how. Once you're sure that all of your camera settings are correct, let us know if you're still having trouble acquiring a good image.

 

Thanks!

Emily C
Applications Engineer
National Instruments
0 Kudos
Message 8 of 11
(9,592 Views)

Thanks a lot for the image.

Still, don't know how to configurate the camera. The code I'm using does has the serial server loop, but I'm not really sure about what to do with it. Now I'm able to make the camera obtain a frame sequence does have some dependence with light, nonetheless, I'm not really getting an image. Indeed, when I try to change some settings of the FPGA (like changing to 10-TAP mode or to full configuration), and then acquire frames, these setting go back to their default values.

Do I have to make some modification in the code in order to change the settings of the camera?

Thanks,

0 Kudos
Message 9 of 11
(9,583 Views)

Hello,

 

I am also using Basler acA2000-340kc camera with Matrox Solios eV-CL frame grabber card. I did what you suggest previous posts, but I couldn't communicate with my camera. Would you help me ?

0 Kudos
Message 10 of 11
(7,699 Views)