Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

my camera won't work with IMAQ vision builder

I have a Hitachi camera , and a PCI 1407 frame grabber

the camera works well in MAX under devices , but when I open the IMAQ vision builder , it not visible in the devices , and I can't open MAX from the vision builder. It's gets me that error "1074397163" at the end it has bad interface

 

it's not the power supply of the camera since it works well at MAX , so its like the camera's name is img0 in MAX , and another thing in IMAQ vision builder, I tried updating my softwares but nothing happened, can anyone help please ??

 

thanks

0 Kudos
Message 1 of 6
(4,075 Views)

Hello Dalia, 

 

This error that you are seeing, "1074397163", is generated when the IMAQ Init VI is called with an incorrect interface name. In MAX the NI-IMAQ driver assigns an interface name to each IMAQ board in your computer, starting with img0, then img1, etc., in the order in which the boards are installed.

 

If for example, MAX has img1 set for your interface and then in your code you call IMAQ Init with the interface name img0, it will give you this error.

 

Make sure that you are interfacing with the correct naming convention that MAX has set for your Hitachi camera. 

Huntington W
National Instruments
Applications Engineer

***Don't forget to give Kudos and Accepted as Solution where it is deserved***
0 Kudos
Message 2 of 6
(4,051 Views)

my camera is assigned img0 in MAX how to change that in the IMAQ ?? or I should try making it img1 in MAX ?? and see where this leads?

 

plus the MAX explorer won't work in IMAQ do i need to re install it ??

 

regards

0 Kudos
Message 3 of 6
(4,042 Views)

Dalia, 

 

I think I may need some clarification on what exact program and function you are using. Are you getting this error with the Vision Builder for Automated Inspection (VBAI)? Or are you using LabVIEW and are receiving this error from the IMAQ Init.vi?

 

If it is in VBAI, and you are trying to acquire an image, the Devices should auto-populate in the Main tab of the Acquire Image setup. Simply select the camera and press Grab or Snap. 

 

If it is in LabVIEW, right-click on the interface input of the IMAQ Init.vi to create either a constant or a control. If it does not auto-populate with the correct camera name as it is in MAX, "img0". Or you can change the interface name in MAX by simply right-clicking on the camera and selecting "Rename"

 

Can you elaborate on what you are referring to when you say "the MAX explorer won't work in IMAQ"?

Huntington W
National Instruments
Applications Engineer

***Don't forget to give Kudos and Accepted as Solution where it is deserved***
0 Kudos
Message 4 of 6
(4,033 Views)

i'm using the IMAQ vision builder to acquire images and make some image processing functions ( i.e pattern matching ) 

I only installed the image acquistion software and the IMAQ vision builder,  I don't think labview is installed on my PC

 

 

 

in the IMAQ vision bulider there is an icon for max explorer it doesn't seem to work with me.

 

0 Kudos
Message 5 of 6
(4,027 Views)

Dalia, 

 

I am not familiar with this "MAX Icon" in VBAI. Can you post a screenshot of VBAI that includes this icon?

 

I would suggest that you look through this KnowledgeBase article as well. 

Huntington W
National Instruments
Applications Engineer

***Don't forget to give Kudos and Accepted as Solution where it is deserved***
0 Kudos
Message 6 of 6
(4,016 Views)