12-18-2009 06:00 AM
NuMetal wrote:i forget to tell u something which is
a scope in my project is only on 2-d dimension so z axis is not count
Then why use a 6 axis robot?
12-18-2009 06:03 AM
my study field is Industrial engineering so it's not gonna be that hard project to work on
about the 6-axis robot that's only robot which my college have , i guess
here's the picture
12-18-2009 06:35 AM
still got the only ploblem which is
LabViEW is show where the centroid is located (x,y) in pixel but i want them to show as centimetre
but the caliper function work just fine by giving me the length in centimetre already
somebody knows how to fix ?
12-18-2009 01:38 PM
Hi NuMetal,
Try using the IMAQ Convert Pixel to Real World VI.
As you can see you will need to pass in a Calibrated Image. Take a look at the example VI- Simple Calibration Example.vi, found in the NI Example Finder (Help >> Find Examples...) under Toolkits and Modules >> Vision >> Functions
I hope this helps.
KristenH.
12-18-2009 02:17 PM
tnx for ur help but with all respect, i thing you got me wrong
i can calibrate in VisionAssistant already
but after i've caliblated and sent it to Labview
the module just show the data type in pixel unit but i want it to show in centimetre
and one more thing can Labview show the picture with showing where the centroid is ?
12-18-2009 04:20 PM
12-20-2009 07:16 AM
12-21-2009 10:36 AM - edited 12-21-2009 10:38 AM
Hi NuMetal,
I added the VI I suggested to the VI you posted and was able to get the same centroid position in cm as Vision Assistant. Take a look at the screen shots below. Let me know if this is what you were looking for.
Kristen H.
12-21-2009 01:51 PM
thousand thanks ... it's defenitely what am looking for
tnx a lot for ur help
01-14-2010 08:40 PM
Kristen H. wrote:Hi NuMetal,
The VIs with IVA infront of the name are created by the Vision Assistant. You can find the VIs in \vi.lib\vison\Vision Assistant Utils.llb. LabVIEW does not normally check here when loading VIs, so that is why it cannot find it. I have also attached the subVI. You may also want to consider using the "Pattern Matching Example.vi," found in the NI Example Finder under Toolkits and Modules >> Vision >>Functions.
I hope this helps!
Kristen H.
Hi, Kristen H.
I try to use the example you mentioned to do my project. this example is pretty good, really.
Can we use the image and template acquired from USB cam real time? I mean I don't need to save the image to a folder and open it again. I also try to use Vision assistant, which doesn't have the connection between acquire image by USB cam and process image. I mean the new script doesn't have Acquire image part, right? Do you know how can we put them together?
Thank you very much!
Guangli