LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

interfacing the laptop webcam with labview

I would like to capture images using the in-built webcam that came with my ASUS EEEPC 1000. I have installed LabVIEW 2010 and am using it on Fedora 13. I do not have NI IMAQ installed, which I thought was preferred way to go about it. I do have the NI-VISA installed. I do not have any experience in writing a driver in/for LabVIEW but if it is required, it would be a good experience. 

Message 1 of 26
(7,970 Views)

hi fchandur@gmail,

  Yes you can acquire the webcam using avicap32.dll.Check out the attachment.

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


Message 2 of 26
(7,960 Views)

The VI doesn't really work. I had anticipated it when .dll file was mentioned. I am using a Linux machine and it is for that I am looking for a solution. Thanks.

Message 3 of 26
(7,928 Views)

Hey fchandur,

 

You should know that NI doesn't officially support Fedora. If you want to create your dll in Linux, you should go to this KB

 

Hope it helps!

Best of luck.. 

 

Regards,

A. Zaatari

National Instruments
Applications Engineer
Message 4 of 26
(7,921 Views)

Hello! I have tested your script and found that it can only be ran once without problems because you never closed the reference to the camera. 

Message 5 of 26
(7,511 Views)

Have you tried 'AD Vision Toolkit (or ADV Toolkit) is a free image processing toolkit for LabVIEW.'

Link : http://www.vi-lib.com/

 

Message 6 of 26
(7,474 Views)

I got what I needed! I am able to use my webcam using NI-IMAQdx(30-day Trial). 

Message 7 of 26
(7,457 Views)

Hi i am facing the same problem with my webcam.

I am doing project in labview and i want to use my lapatop's camera for online video input.

I am doing this project on my Dell laptop with windows 7 operating system. And i am using Labview 2011 with  vision aquisition in it, but not vision builder.

Is vision builder required for this capturing this process.?

Please let me know if you can clear my problem. 

Message 8 of 26
(7,397 Views)

Hi ajita24patil,

 

Vision Builder is not required for acquiring images. If you are using a Webcam you will need to have NI-IMAQdx installed which comes with Vision Acquisition. You said you’re seeing the “sample problem”. Can you please elaborate? What is your issue and what is not working?

 

Tim O

Applications Engineer
National Instruments
Message 9 of 26
(7,370 Views)

I can only run this VI once and it works perfectly, then when I hit "STOP" or "ABORT" the program stops and when I try to relaunch it, I have to choose which camera to monitor and I choose the same exact one and it doesn't show anything but a black screen and the LED above my webcam stays on even after I close out of labview completely thus telling me that the camera is still open or being referenced, therefore the code is at fault.

Message 10 of 26
(7,357 Views)