09-22-2008 08:34 PM
When IMAQ Find Edge.VI is used for finding a horizontal edge over a ROI wider than 2100 pixels, the VI returns an empty result (and no error). If the ROI width is reduced to 2000 pixel or less, then the VI returns the found edge. I tried to change the Edge Find parameters (e.g., decrease the number of lines), but it did not work either.
I am using Vision 8.6 and LabView 8.2.
Does anybody know what the problem is?
09-23-2008 05:15 AM
09-23-2008 10:46 AM
The image is attached.
09-24-2008 09:50 AM
Hello Massimo25,
I did not run into this problem when I tried it out. Could you try running the attached VI? Please let us know if it works for you.
09-24-2008 11:36 AM
Hi Vivek,
Thanks for your posting.
I tried your vi and it gave me the same problem. As I wrote in the previous posting, the problem appears to be related to the width of the ROI. Referring to the image I posted earlier, the edge I am interested in is the (almost) horizontal line that divides the dark region from the brighter one (the vertical lines you can see in the brighter region are not the edges I am interested in). Please try the attached vi. Try with a ROI (which includes the edge of interest) that is as wide as the image and with a ROI that is only 1000 pixel wide. Please let me know if you see the same issue.
Thanks,
Massimo
06-12-2009 09:13 AM
Was this resolved? I tried to run this on my computer and have similar issues. The issues are showing up in a different application but this discussion narrows down the issue. In my application, the IMAQ Find Edge works randomly. Sometimes I do get the Straight Edges array with data and sometimes I do not.
Here are some more details.
If you monitor the image that is displayed after going throuh the IMAQ Find Edge.vi (set the display options for search Area, Seach Lines, Edges Found and Show Result to TRUE) then the image shows that all the edges are found, but somehow the results are not populated in the Straight Edges array.
I am using
LV 8.6
Vision Acquisition SW 8.6
PC
Lenovo ThinkCentre
Win XP SP2
Intel Core 2 Duo E6850 @3GHz. 3 G RAM
06-12-2009 09:26 AM
06-15-2009 10:22 AM