Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

"no interface found" error, but Max shows cam0

Hi,
 
I'm trying to get an image acquired using a firewire camera. Max shows the camera (Basler a102fc) connected to cam0. When I try to acquire it in Labview, however, I get the following error: -1074397145 at IMAQ Init.vi "No interface found."
 
I'm using Labview 8.5 and the latest Machine vision package. I'm currently using the folowing functions:
 
IMAQ Init.vi
IMAQ Snap.vi
IMAQ Create
 
I wire "cam0" to interface name on Init.vi, wire its session to Snap.vi
an name is wired to IMAQ Create, which is wired to the image in node on IMAQ Snap.
 
What's going wrong here, any ideas?
 
thanks,
 
Joel
 
Message 1 of 9
(5,973 Views)

Are you able to Snap or Grab images using the camera? 

If not, then your camera is installed under the wrong driver.  If so, then I'll look for other options, but first I need to know whether or not you are using the correct driver.

Regards,

0 Kudos
Message 2 of 9
(5,970 Views)
Hi, Joel,
As far as I can understand, Basler a102fc is 1394 camera, and you should use IMAQdx Open, IMAQdx Snap, etc instead  of IMAQ functions, isn't?
 
Andrey.
 
Message 3 of 9
(5,968 Views)

I'm interested in the same thing (using a 1394 camera) and receive the "No interface found" error.

What is the difference between the IMAQ and IMAQdx?  I ask mostly because I am trying to adjust attributes of the camera (ex. gain, shutter, exposure, etc.) and IMAQdx does not have the Set Camera Attribute.vi that may be used with IMAQ (IMAQ Set Camera Attribute.vi).  Thanks for any response.

0 Kudos
Message 4 of 9
(5,573 Views)

jmeyer,

 

The IMAQ driver is used on NI's framegrabber cards and smart cameras. The IMAQdx driver is used for cameras on busses like FireWire and GigE Vision. The APIs are fairly similiar in interface and concepts, but are not directly interchangable.

 

If you are using LabVIEW, you may want to start out with the Express VIs for image acquisition that have been included in recent versions of Vision Acquisition. It hides all the acquisition code and lets you configure your camera settings via a dialog. It also allows you to acquire images from both IMAQ or IMAQdx devices with the same code.

 

Eric

0 Kudos
Message 5 of 9
(5,569 Views)

I have an almost identical problem.  I have no dificulties configuring and grabbing images from within MAX 4.5.0f0 or Vision Assistant 8.6.   My GigE camera id's as an NI-IMAQdx device in MAX .  The full text in MAX is:

 

Devices and Interfaces

      NI-IMAQdx Devices

            cam0 : Prosilica GC2450M (02-2170A)

 

But, when I enter cam0 as the Interface name in the "Grab and Save to AVI.vi" Example I get the same "no interface found" error.  What am I doing wrong?

 

Thanks in advance in Tucson

0 Kudos
Message 6 of 9
(5,521 Views)

Hi Robi

 

I believe the problem you are facing is that you are running an IMAQ example with a IMAQdx camera. All GigE cameras use the NI-IMAQdx interface, the "grab and save to AVI.vi" VI uses the IMAQ function calls. Since there are no IMAQ interfaces connected to the computer and only IMAQdx it will not find an interface. Try navigating in the example finder to Hardware Input and Output >> IMAQdx for a complete list of examples that will work with your camera.


Thank You
Eric Reid
National Instruments
Motion R&D
0 Kudos
Message 7 of 9
(5,495 Views)

Thanks Eric,

 

That was exactly the issue.  In the last of many remove all LabView software and replace operations I conducted I had not selected the IMAQdx option and therefore none of the IMAQdx vi's showed up in the functions menu.  After re-install they appeared and I replaced all the IMAQ vi's with the equivalent IMAQdx vi.  All's well now.

 

Thanks again.

0 Kudos
Message 8 of 9
(5,473 Views)
Hi Robi Thanks for the update! I'm glad I was able to help and hope you have a wonderful holiday season!

Thank You
Eric Reid
National Instruments
Motion R&D
Message 9 of 9
(5,436 Views)