LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using a Webcam with Labview 8v5

I have a Logitech USB Webcam and I am using Labview 8v5.
Without additional  software  packages, can I display continuous video from the Webcam on a Labview  vi  front Panel ? 
If this is possible does anyone have examples of vi's showing how to achieve this.
Thanks
0 Kudos
Message 1 of 11
(27,116 Views)
Getting streaming video to output to the front panel would require you writing a driver that does so, some resources you may find useful are:
 
Using USB

  1. Download and install NI-IMAQ for USB Cameras (preferred method)
  2. Use a third party driver. Below are several popular sites from the discussion forums:
    1. http://www.cs.unc.edu/~parente/labview/index.shtml
    2. http://www.hytekautomation.com/Products/IVision.html
  3. Control and acquire data from the camera by calling the camera's .dll files.
  4. Write your own drivers for the camera using VISA. There are several helpful resources. Some of which are:

    1. Using NI-VISA 3.0 to Control Your USB Device
    2. http://www.beyondlogic.org/usbnutshell/usb3.htm

Hope you find the above information helpful

 

Rob W

National Instruments

Application Engineer

Applications Engineer
Message 2 of 11
(27,102 Views)
thank u.. got it done!!
0 Kudos
Message 3 of 11
(25,041 Views)

Any chance you can post your solution? I have a similar applications.

 

0 Kudos
Message 4 of 11
(24,344 Views)

Unfortunately I was unable to try out the suggested way forward on usng a Webcam with Labview. The project  I was working on which required use of a webcam  has been cancelled. 

 Sorry.

0 Kudos
Message 5 of 11
(24,315 Views)

Hi soeren,

  You can download and install IMAQ drivers for USB cameras.Check this link...http://zone.ni.com/devzone/cda/epd/p/id/5030

 

 

 

 

Thanks and regard,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 6 of 11
(24,308 Views)

Hello everybody,

I installed Labview 2011, Imaq 4_6_4 and have also a webcam from logitech (C270) and I'm currently working on a HP laptop with Win XP.

I see the different VI from Imaq, but I don't find where I need to select my webcam. Does someone has a simple example how to do.

Or maybe my webcam is not supporting DirectShow. How can I see that ?

 

thanks in advance

 

Bert

 

0 Kudos
Message 7 of 11
(15,970 Views)

Just launch the Vision Acquisition Express VI to acquire image it will automatically create VI (For Video and Image capture) and Vision Assistant for Processing the Image.

 

Good Luck

-----

The best solution is the one you find it by yourself
0 Kudos
Message 8 of 11
(15,964 Views)

Sorry, but when I do this, the following message I receive:

"The device that was used previously is no longer available. The roiginal settings will be used. You will not be able to test  the acquisition and some settings may not be editable."

 

In the upcomming window I see "acquisition Sources for localhost" but there is no device in this list. Although that, I'm sure that my webcam is working fine. Becaus in skype I can startup a videoconference.

 

Bert

 

0 Kudos
Message 9 of 11
(15,962 Views)

Hi

 

I have installed the USB drivers and got it working Smiley Tongue

But I need to operate with two cameras. They got the same name and the VI "IMAQ USB Enumerate Cameras.vi" can see the two cameras, but I can only get image from one of them because the names are equal.

Is there a way to handle this or do I have to buy two different cameras?

 

thanks in advance

Bjarne 

0 Kudos
Message 10 of 11
(13,967 Views)