Hi,
I've attached a resource below that may prove helpful for you.
IMAQ Vision for LabVIEWTM User Manual:
http://www.ni.com/pdf/manuals/371007a.pdf
See Chapter 5 for information on Edge Detection. I hope this helps!
Kale W.
Applications Engineer
National Instruments
support@ni.com