LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Match Pattern

I just cant get my program to work. If I define the structure I'm
looking for with a ROI it works very nicely, but when I try to load an
image to look for it just crashes with the following error code:

-1074396160
IMAQ Learn Pattern
System error.

Do anyone hava a clue what that means?

thanx
0 Kudos
Message 1 of 2
(2,508 Views)
A couple of things to look at-

If you are loading an image from disk and trying to use that image directly as the source for the IMAQ Match Pattern 2.vi, you will need to have the image "learned" previously, and then save it as a PNG. The PNG file type can save the extra information associated with a pattern to match.

If you are loading an image and learning it in your program, you will need to make sure that the image to learn is 8 bit, and that all other settings for the IMAQ Learn pattern are connected.
0 Kudos
Message 2 of 2
(2,508 Views)