Hello!
The FindEdges2 function has an optional EdgeReport parameter that you eluded to in your post. This Edge report consists of:
Contrast - Intensity contrast at the edge.
Coordinate Point - contains the coordinates of the edge.
Polarity - Polarity of the edge. (Light to Dark, Dark to Light)
Position - Position of the edge from the first point in the Points parameter passed to CWIMAQVision.FindEdges2. This is a subpixel interpolated distance.
So in your application, you will want to use the Polarity item within the Edge Report. I found this information in the IMAQ Vision for Visual Basic Reference, which is installed with Vision when you include VB support.
Hope this helps!
Robert