06-06-2012 05:23 AM - edited 06-06-2012 05:26 AM
Hi everyone,
I am creating a user interface in which I have to show the results of several Pattern Matching functions. It would be fine to show them in a simple numeric indicator.
First of all, I created a script on Vision Assistant which contained various Pattern Matching steps and when finished, I generated the C code in order to create the UIR on LabWindows.
The point is that now, once in LabWindows, I have to obtain all the scores of every matches detected by the different patterns, but I haven't got any clue how can I get those results and show them on the user interface. I reckon it has something to do with the "pmResults" variable (lines 570 and 684), but anyway I can't think of a way of obtaining the info from there and showing it on numeric indicators.
I couldn't attach the file directly here, so I leave the link to download the .c file so you can have a look at it 🙂
http://www.2shared.com/file/LGknllLY/exercise_pattern_matching.html
Password: pattern
I would appreciate any help you can provide me with.
Thanks everyone in advance!
g
11-01-2013 08:35 PM
In this illustrative example, we will create a program in Labview capture an image pattern, after the search to show the location and coordinates, you can check the following article in the following link