Hello,
There are various examples that ship with NI-IMAQ to do acquisition and IMAQ Vision to do image processing. You can access these examples by going to the Help -> Search NI-IMAQ Examples.../Search Vision Examples...
You can also find additional examples at http://zone.ni.com/devzone/devzone.nsf/webcategories/7D6146D8C67A832E862567F1006C29EE?opendocument&node=DZ52422_US
Hope this helps!
Regards,
Yusuf C.
Applications Engineering
National Instruments