Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

ni imaq

hi,

i'm working on a project for sorting and counting of electronic components. for that i've installed labview  8.5 (lisensed), vision assistant 2010(evaluation) and ni imaq for usb camera. the camera i'm using is danypc-909 which does not require and driver. the system automatically detects the device. the device runs well on labview but when i call vision assistant from labview, it gives an error 1074395995 occured at imaq readimageandvisioninfo file not found.

nor does the device appears in the list for chosing camera in vision assistant directly. i hope somebody will help me out. i'm supposed to complete this project during this week. 

0 Kudos
Message 1 of 4
(3,259 Views)

Hey incisive,

 

Do you have the IMAQdx drivers installed? In order to use your webcam, you will need to install those drivers with the Vision Acquisition Software. Note that you will need to purchase a license for IMAQdx, but you can use the evaluation version for 30 days. If you have IMAQdx installed, you may be running into another problem. Unfortunately, that error is non-specific and can be generated by third party ActiveX controls, VIs, or libraries. Does your camera show up in Measurement and Automation Explorer, and if so, under what heading? I'll keep looking into your issue on this end. Have a great day!

John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
0 Kudos
Message 2 of 4
(3,240 Views)

I've installed vision 8.5 (evaluation) and now it is working but when I used a different camera, I can't view the image on labview. The screen goes black and on opening vision assistant vi from labview, the same black screen appears for processing.

Anyway.The first camera works fine but there is another issue now.

I've created a complete vi for my project. The project is actually sorting and counting of electronic components. What I did was I used snap.vi for taking pics with delay(5000ms) )(while the component moves on the conveyor belt.) when the snap is taken, it will be then loaded to vision assistant whose vi is attached. 3 vis for 3 different component have been attached. I've made the script as well for all three of them. Now the problem is.The script only processed the first image I captured(on which I made the script) while the rest of them are not processed.

How to make the script work for all the images of components I capture?

0 Kudos
Message 3 of 4
(3,225 Views)

Hey Incisve,

 

So are you able to acquire images? check in MAX to see if your camera is showing up. Also, if this is a USB camera, it has to be DirectShow compatible to work with IMAQdx. 

 

Apart from the camera setup, I am not sure I understand what you are doing with your setup, nor did you attach your VIs.. can you elaborate more?

 

Regards,

A. Zaatari

National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,204 Views)