LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my IMAQ Find Circular Edge tool give a result in pixels instead of um when I migrate from Vision Assistant to a VI?

I have a very simple script in vision assitant.  I open a picture I have previously saved that just has a light circle on a dark background.  I have previously taken a picture of a grid of dots that has yielded calibration info in micrometers.

In Vision Assistant, my steps are:

Orignal Image--->Image Calibration 1--->Circular Edge (Spoke)1

This works, and gives me a result of the center x and y of the circle in pixels, the current radius in micrometers, and current deviation in pixels.


From Vision Assistant, I used the Create LabView VI tool to make a Labview VI of this very simple process.
However, on the front panel of the VI, it returns the Best Circle Center X-Y and Radius in pixels.
I have found no option to change this.


I also posted this in the Machine Vision forum.  I apologize if that makes people mad--after I posted it there, it seemed to me that it's more of a software problem than hardware problem.

0 Kudos
Message 1 of 3
(2,763 Views)
Dear SuperFly,

I created the same script in Vision Assistant, and then created a LabVIEW VI from this script. I observed the same behavior that you did: The radius was returned in my calibrated unit in Vision Assistant, but in pixels in LabVIEW.

Take a look at the post below. It explains that this problem is a noted oversight in the Vision Assistant, and gives the solution.

Troubles when creating LabVIEW VI from Vision Assistant

Best Regards,

~Nate
________________
NI Applications Engineering
0 Kudos
Message 2 of 3
(2,749 Views)
I was able to get a workaround using help from folks in the machine vision forum at this thread:

http://forums.ni.com/ni/board/message?board.id=200&thread.id=17121
0 Kudos
Message 3 of 3
(2,739 Views)