06-06-2007 03:51 PM
06-07-2007 04:55 PM
06-07-2007 06:21 PM
David,
I found a document in our Knowledgebase that refers to this issue:
When you create a pattern matching template in Vision Builder or Vision Assistant, there is extra information saved in addition to the image itself, including overlay information, pattern matching template information, and calibration information. This information lets LabVIEW and Vision Builder know how the template was learned. When you open that template in LabVIEW using the IMAQ ReadFile VI, this extra vision information is not transferred with the image. Likewise, if you try to create a template file using the IMAQ Write PNG File VI the extra vision information is not saved to file with the image, so Vision Builder or Vision Assistant do not recognize it as a valid pattern matching template. To retain the extra vision information with the image, open and create your pattern matching template using the IMAQ Read Image And Vision Info VI and the IMAQ Write Image And Vision Info VI, respectively. These VIs are located in the Vision » Vision Utilities » Files palette.
Let me know if you have any questions!
06-08-2007 02:01 PM
06-11-2007 04:40 PM
David,
I am curious as to whether the VIs posted in Allison's reply were helpful to you: IMAQ Read Image And Vision Info VI and IMAQ Write Image And Vision Info VI. Have you tried using these?
Regards,
Jasper S
06-14-2007 03:21 PM
07-16-2007 01:59 PM