Hello everyone, I am new to Igor pro. I currently have a Logitech HD Pro Webcam C920 and wanted to write some code that would allow me to take take a picture from the camera and then process it in Igor. I know that there is the XOP that allows users to write code that will let Igor communicate with USB devices. I was wondering if anyone has already written a code that can interface with Logitech USB cameras and give me an idea of if it was difficult to code.
Under WIN XP you should be able to use the VFW (Video for Windows) XOP. According to http://en.wikipedia.org/wiki/DirectShow you should also be able to use the DirectShow XOP. I suggest you start with the latter.
You should be able to find the XOP in your Igor Pro folder:More Extensions:Data Acquisition:Frame Grabbers:DSXOP. To install create a shortcut to the DSXop.xop file and put it in your Igor Extensions folder. Restart IGOR and open the DSGrabberDemo.pxp experiment to try.
I take the opportunity of this question about using cameras with Igor to ask another one on the DSXOP.
I use a camera that is recognized by my OS (Windows 7, 64 bits), but I often get troubles when using it with Igor through the DSXOP.
Indeed, after initializing, turning on the video and turning it off afterwards, and if I repeat this sequence, I get the following error message: "Failed to add filter."
Can someone explain me why this error message appears, what it means and how to fix my problem?
Indeed, after initializing, turning on the video and turning it off afterwards, and if I repeat this sequence, I get the following error message: "Failed to add filter."
The error you report is only returned when failing to initialize a new video window. I am unable to reproduce it here (on Win-8) so I am curious if this is something that is unique to the particular camera driver. Could you try the same process with a completely different video camera?
Look up the NewCamera command where you can set the specific camera to use. There is reference to the GetCamera availablecameras keyword to get the exact name of the camera.
Many Logitech web cameras can be supported by existing XOPs so you may not even need to write an XOP.
A.G.
WaveMetrics, Inc.
March 12, 2014 at 01:03 pm - Permalink
March 13, 2014 at 01:27 pm - Permalink
You should be able to find the XOP in your Igor Pro folder:More Extensions:Data Acquisition:Frame Grabbers:DSXOP. To install create a shortcut to the DSXop.xop file and put it in your Igor Extensions folder. Restart IGOR and open the DSGrabberDemo.pxp experiment to try.
I hope this helps,
A.G.
WaveMetrics, Inc.
March 13, 2014 at 03:24 pm - Permalink
I take the opportunity of this question about using cameras with Igor to ask another one on the DSXOP.
I use a camera that is recognized by my OS (Windows 7, 64 bits), but I often get troubles when using it with Igor through the DSXOP.
Indeed, after initializing, turning on the video and turning it off afterwards, and if I repeat this sequence, I get the following error message: "Failed to add filter."
Can someone explain me why this error message appears, what it means and how to fix my problem?
Thanks.
Restedumonde.
March 17, 2014 at 03:11 am - Permalink
March 17, 2014 at 07:47 am - Permalink
The error you report is only returned when failing to initialize a new video window. I am unable to reproduce it here (on Win-8) so I am curious if this is something that is unique to the particular camera driver. Could you try the same process with a completely different video camera?
A.G.
WaveMetrics, Inc.
March 17, 2014 at 11:15 am - Permalink
Hi everyone.
Is there a similar frame grabber for Igor 8. I need to take pictures from a USB webcam. How can i do that?
Cheers
Silvan
July 30, 2020 at 10:35 pm - Permalink
Hi,
Look up the NewCamera command where you can set the specific camera to use. There is reference to the GetCamera availablecameras keyword to get the exact name of the camera.
Andy
July 31, 2020 at 05:54 am - Permalink