LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Color pattern match in consumer producer architecture

The way I currently have my code is as follows:

If the number of matches in a color pattern match is greater than 0, it sends the information to the consumer loop.

If it is not greater than 0, it doesn't send anything.

What I was wondering is, if it finds a match the first time and it sends the information to the consumer loop, will the number of matches in the color pattern match return to 0 or will it be greater than 0 after the first match? If the number of matches in the color pattern match will be greater than 0 after the first match, and it will still be greater than 0, even though it doesn't find a match in the following scenarios, how can I make the number of matches in the color pattern match return to 0?

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

@Fernan1988 wrote:

... will the number of matches in the color pattern match return to 0 or will it be greater than 0 after the first match?...


 

it's hard to say unless you can post your code....have you tried probing tool,retain wire value,highlight execution,single stepping into and out, breakpoints? Smiley Wink

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