LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW vision module w/ usb camera

I've got LabVIEW 2009 and the Vision Assistant 8.6 and am trying to coordinate them with a usb camera for motion tracking. Eventually I want to be able to track motion at several locations on a glass plate, but currently I'm having difficulty understanding how the Vision Assistant and LabVIEW are supposed to interact. I can take input with Vision Assistant and see from the camera, but I can't perform any of Vision Assistant's functions on the image. Also, I don't think I have a LabVIEW VI for initializing up a USB camera to use with the IMAQ functions. How should I do this?

Using LabVIEW 2009 on Windows Vista
0 Kudos
Message 1 of 8
(8,980 Views)
You need to have the usb camera's drivers and vi
0 Kudos
Message 2 of 8
(8,965 Views)

muks,

 

The Vision Assistant can view images from the camera and the computer seems to have working camera drivers, but there seems to be no interface between the Vision Assistant and LabVIEW.

 

The camera I am using is a CMOS USB camera from Edmund Optics and I have downloaded what seems to be the generic USB camera driver for the Vision Assistant. What else do I need to get?

Using LabVIEW 2009 on Windows Vista
0 Kudos
Message 3 of 8
(8,952 Views)

Hi dragonlordged,

 

Is there a reason you want to stick to Vision Assistant?

 

There are two examples on the communitythat do motion detection that might be easy just to modify.

 

 

 

0 Kudos
Message 4 of 8
(8,940 Views)

I haven't been able to find a working version of NI-Vision on the server of site-licensed stuff maintained by my school. They claim they should have it, but I haven't found it.

 

Also, I don't have any knowledge of how to do stuff with IMAQ. I suppose I'll look around for NI-Vision again.

 

dlg

Using LabVIEW 2009 on Windows Vista
0 Kudos
Message 5 of 8
(8,914 Views)

Hi dlg,

 

There are some great examples in the NI Example Finder (in LabVIEW go to Help >> Find Examples...) that are simple enough to start with.  The basic concept you need to understand the HL Snap.vior HL Grab.vi examples is that you "open, do-something, close".  The more complicated your code, the more extensive the "do-something" is.  However, the same process applies.  The other thing that is important to know is that the Create IMAQ.vi creates a buffer in which to store the image temporarily from the camera.  You then pass a reference to this buffer (the purple wire at the top of the subVIs) to process the image in a later step, if desired, or display the image on the front panel.   

 

imaq snap.jpg

 I hope this helps!

 

Kristen H.

 

0 Kudos
Message 6 of 8
(8,895 Views)

hi, Kristen H. 

It's very good about your points. Did you ever try to track one point in moving project, such as convex point in moving hand?

Do you have some ideas? THKS! 

0 Kudos
Message 7 of 8
(8,880 Views)

Hi guangli,

 

I am not sure what you mean by "a convex point in a moving hand."   Would you mind clarifying.  If you are trying to track a particular object in a series of frames, I would try pattern matching VIs to create the algorithm.

 

I hope this helps!

 

Kristen H.
Message 8 of 8
(8,840 Views)