Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in IMAQ for usb

I had an evaluation labVIEW 2009 pack, and I want to use usb camera .  So, I installed NI IMAQ for USB , but I didn't found thier VIs . I used it before but in LabVIEW 8.5 (But fully activated) and worked very well .. What could be the problem in LabVIEW 2009 ? I think it doesn't matter if it was an evaluation ??!
0 Kudos
Message 1 of 9
(5,143 Views)

I don't think the old, unsupported IMAQ for USB driver supports LabVIEW 2009 in its installer. You could possibly manually copy files from an 8.6 install into the 2009 directory, but your best bet would be to use the fully supported Vision Acquisition 2009 module which includes support for DirectShow USB cameras.

 

Eric 

0 Kudos
Message 2 of 9
(5,138 Views)
Thanks for your answer .. But I didn't use DirectShow before , is there any VI (example) that could help to know how to use it ? I read and followed the steps here ( http://zone.ni.com/devzone/cda/tut/p/id/10111 ) but I need an example , please .    Also I want to tell you that I am using a built-in camera in my laptop , does it make any problem ?
0 Kudos
Message 3 of 9
(5,128 Views)

Hi flifl,

 

Most built-in webcameras on laptops work just fine.

 

The first thing I'd advise with any IMAQ or IMAQdx-supported camera is to go into MAX and ensure that you camera shows up under the IMAQdx category and that you can acquire from it. This will also let you familiarize yourself with the camera's capabilities such as supported video modes and attributes such as exposure time. You can also manipulate the settings to get a good picture and then save them as the new defaults for when you use the camera in LabVIEW.

 

One the camera is working in MAX, you can then know it will work fine in LabVIEW. You can then go to the Example Finder under the Help in LabVIEW and find the IMAQdx examples under the Hardware Input/Output category and see the examples that come with IMAQdx.

 

Eric 

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

Eric,

 

Pardon the intrusion into this thread.

Tried to contact you in another thread.

I made a breakthrough with the Ethernet/IP driver.

I left a message in the NI Labs thread for EtherNet/IP Driver.

 

Checck it out.

 

cheers,

 

Ted

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

Hey Eric,

 

Thanks for your help .. I'm now working very well with Imaqdx , but there is something that I couldn't understand in my VI. First of all it's a motion detector and tracker VI, but I need to correct the tracked image with morphology and filter VIs. The problem is that I couldn't display the corrected image, where it gives a fully black image at any point after the thresholding VI ,although the number of particles changes. What could be the problem ??
here is my VI but with out the Tracking part .. All what I need now to display the corrected image ..
I  

 

 Motion Detector.jpg

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

It looks like you may have posted a small screen shot of your block diagram instead of the actual file.  I'll take a look at it, but I can't see what's going on.  Could you post the actual VI?

 

Also take a look at this community example- it does motion detection and uses IMAQdx so you should be able to run this with a USB camera no problem: http://decibel.ni.com/content/docs/DOC-4717

 

Kristen H.

0 Kudos
Message 7 of 9
(5,045 Views)
Sorry for posting a small image , here is another one .. But assume the corrected image connected after the particle filter VI. The problem is that the output image of this filter gives a black image although the number of particles changes, and after getting the center of energy of this image to track, it tracks the object !! How ?
I just want to remove unwanted small particles according to their area using the particle filter VI and then show the corrected image. So,why it gives a black image ? Am I using unrealable values in the filter VI?

Motion Detector.jpg
0 Kudos
Message 8 of 9
(5,038 Views)

Thanks for the better image, but it would be easier to trouble shoot with the actual VI.  Is it possible to upload that? Thanks!

 

Also, the Subtracted Image display and the Corrected Image display are referencing the same buffer (probe the wire to double check), so they should show the same image.  Do you see that? 

 

Kristen H.

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