01-18-2006 04:52 AM
Hi.
I’m ali and I use LabVIEW 7.1. I had a problem with my webcam. I wrote a program and I use a DLL (capwind.dll) that can read out the webcam that connected to the computer. It has some functions to do this. But the problem is here that if there isn’t any webcam connected to the computer it can’t recognize it and it open the USB port and then hangs and do nothing. How can I detect the devices especially webcams that connected to the computer in LabVIEW? and after that select my webcam.
Thanks a lot.
Ali mootab.
01-18-2006 05:04 AM
I don't know your dll, but have you checked if inside your dll there is a function to find out?
Another way would be to look into the registry, I'm shure an answer is buried in there if you have the key ...
02-13-2006 01:09 AM
To install the webcam library, follow the steps given below:
1. Extract all of the files from the compressed zip archive to your LabVIEW user.lib folder.
2. Run LabVIEW.
3. Open the user submenu of the function palette for the webcam library functions.
02-13-2006 07:04 PM
Hello Ali,
Henry makes a good point - try checking the registry keys under your product before AND after connecting the webcam, and search for differences bestween the two. Another possibility is if your device has a command which you can write to it, which causes it to return data to you, you can write that command at the beginning of your application, and if you don't get a response within a certain amout of time, you'll be able to assume that the camera is not connected.
For further question regarding your specific dll, you may want to contact the author of that dll.
Hope this helps.
AG
02-14-2007 12:41 PM
02-16-2007 10:49 AM
Mozill:
What is your OS? I have seen this error occur with older Operating Systems. Please let me know.
Thanks,
Rudi N.
02-16-2007 11:15 AM
02-19-2007 06:03 PM
Mozill:
I followed all the steps highlighted by Ali and after running "webcam Get Digitizers.vi", I did not get any errors. At what point of the process do you get the 'Microsoft WDM' message?
Thanks,
Rudi N.
02-19-2007 08:16 PM
02-20-2007 07:10 PM
Mozill:
Is your camera properly recognized by your OS?. If your camera is properly working outside of LabVIEW, it will then be safe to assume that the issue with the way the driver is interfacing with the camera. At this point, I may have to locate a USB camera to replicate all this on my end. Please let me know what you find.
Regards,
Rudi N.