Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imaq1394 and vision 7.1 VB Bug

After upgrading to version 7.1 of Imaq Vision, the DrawPatternMatch does not work anymore. The rectangle is drawn, but instantly disappears upon the first call to the function imaq1394Grab2CW
I am using NI Imaq for 1394 (version 2.01), VB 6.0. This feature worked fine until I upgraded to Vision 7.1. I need URGENT help!
0 Kudos
Message 1 of 2
(2,843 Views)
Ferko -

DrawPatternMatch draws the rectangle and the crosshair on the overlay of the image.  If you then acquire a new image, that image will not have an overlay.  If you want to copy the overlay from the old image to the new image, you can use the CWIMAQOverlay.CopyTo method.  For example:

OldImage.Overlays(1).CopyTo NewImage.Overlays(1)

Hope this helps - if not, let me know.

Greg Stoll
Vision R&D
National Instruments
Greg Stoll
LabVIEW R&D
Message 2 of 2
(2,840 Views)