04-18-2014 08:49 AM
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?
04-18-2014 08:59 AM - edited 04-18-2014 09:00 AM
@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?