Error -1074360311: Camera Not Found

Updated Oct 5, 2018

Reported In

Hardware

  • Camera

Software

  • Vision Development Module

Driver

  • Vision Acquisition Software

Issue Details

When I try to take images with my camera using IMAQdx, I get the following error:
 
 
Error -1074360311: Camera not found.
 
Why is this happening, and how can I troubleshoot this error?

Solution

This error occurs when IMAQdx searches for a camera resource with the name that you specified in the IMAQdx Session In but doesn't find it among the available camera files. 

This can happen if the Session In input to the IMAQdx Open Camera VI is left blank or is not selected. Make sure to specify the camera that you would like to use to acquire images.

This sometimes happens when a LabVIEW project is built into an executable and the Session In input is hard-coded into the block diagram with a constant. When the executable is deployed to the target computer, the camera name is likely to be different on the target than it was on the development PC. This is even true when using the same camera that was used on the development PC because IMAQdx will automatically assign a camera name to any new camera that it discovers.  By default, IMAQdx cameras are given names starting with cam0 and proceeding to cam1, cam2, etc. 

Check the NI-IMAQdx devices in MAX to make sure that the device that you are using has exactly the same name as the resource that you specify in your LabVIEW or CVI code. You can address this problem by designing the executable to allow the user to specify the camera from the front panel. Also, you can change the name of the camera in MAX.

Error -1074360311 can also happen to GigE Vision cameras because of problems with network connectivity. Troubleshoot the GigE camera using the same methods that you would use to troubleshoot other network connectivity problems. If possible, try temporarily disabling the firewall. If this solves the problem, try adding LabVIEW and MAX to the list of firewall exceptions. Also, make sure that Jumbo Frames are enabled on your network card.

This error can sometimes occur when you attempt to use a reference to an NI-IMAQ camera with the NI-IMAQdx functions and VIs. Please refer to the related links section for more information about the difference between these camera drivers.

WAS THIS ARTICLE HELPFUL?

Not Helpful