06-01-2006 12:21 AM
06-01-2006 12:44 PM
06-04-2006
05:10 PM
- last edited on
09-28-2025
11:06 AM
by
Content Cleaner
Hi Mic,
From what I understand you're trying to use LabVIEW to control the LEDs on a USB webcams and acquire images from it. If you take a look the KnowledgeBase article Acquiring Images in LabVIEW Using a USB or an IEEE1394 (Firewire) Camera, it lists several ways to at least acquire images from the USB camera. If you choose to use the NI-IMAQ for USB Cameras driver (which is currently not supported by NI Applications Engineers), make sure that the camera uses Direct Show filters.
As for controlling the LEDs, your best bet will probably be to try Options 3 or 4 of that KnowledgeBase article I linked above. Most likely, the camera will have a driver provided by the manufacturer, which may have functions that allow you to control the LEDs. If this is true, then you can access the driver DLL using the Call Library Function Node in LabVIEW. The last option would be to use direct USB commands to the camera using USB VISA VIs in LabVIEW, but it's quite possible that the camera company will not give you the USB commands to use.
Hope this helps,
Irene Chow
National Instruments
Applications Engineer