LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Obtaining results from a Pattern Matching

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

0 Kudos
Message 1 of 2
(2,601 Views)

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

 

https://decibel.ni.com/content/docs/DOC-31880

0 Kudos
Message 2 of 2
(2,416 Views)