@Mozill wrote:
Hi Matthias,
I would like to do image capture just like what you did without using any vision development module. How did u proceed through the use of windows API. Could you please explain me in steps. I am totally new to this area.
Thank you.
Mozill
Considering that you are total new in this I think there are better ways to spend your time. The Video for Windows API is old and considered legacy technology but that does not mean it is simple. Interfacing this to LabVIEW is not really feasable without using an external DLL that tranlates between the API and LabVIEW, both for datatypes and callback functions.
There has been one library from Pete Parente at http://www.cs.unc.edu/~parente/labview/index.shtml that uses VfW to access webcams.
The modern way to access video on Windows however is DirectX/DirectShow or whatever MS will call it tomorrow. This is however an object oriented API (OLE style) and definitely requires you some good understanding of COM/OLE. Again without an external DLL this is definitely not possible.
Last but not least you will have to think about how to display the image or video in LabVIEW. For images you could use a picture control but for video that is simply not a good idea. The overhead of translating your frames into a Picture stream and have the Picture Control render it onto the screen will make it VEERY slow. IMAQ Vision really has a good use there.
Basically if you know C well with knowledge about pointers and callbacks etc. and can program a DLL it is a feasable project to do as long as you have a few weeks of spare time. Otherwise go with the flow and use what is there. There are lots of people that would want to get a free video interface in LabVIEW but nobody that wants to spend that much time to provide such a solution for free.
If IMAQ Vision is to expensive for you you may also consider IVision instead from Hytek Automation http://www.hytekautomation.com/. Less expensive and with a very extensive image manipulation library too, but it is definitely not free and I would think this to be a very fair price.
Rolf Kalbermatter
Message Edited by rolfk on 02-15-2007 08:47 AM
Rolf Kalbermatter
My Blog 
DEMO, Electronic and Mechanical Support department, room 36.LB00.390