LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merged overlay not saving to AVI

Solved!
Go to solution

LV2013/Vision 2013

 

In a loop, I am grabbing images from a camera using the Vision Acquisition express vi.  To the output image, I add a text overlay of the system time (e.g., 11:23:56.489).  The overlay is pure white text on a pure black background.  I then send this resultant image through the Merge Overlay.vi to destructively place the overlay onto the image.  I then save this image as a frame in an AVI file with IMAQ AVI2 Write Frame.vi.  On the LV front panel image indicator, the image shows the timestamp.  However, the saved AVI file does not.  The AVI file shows the frames as if the overlay was never there.  It's as if the Merge Overlay.vi didn't actually do a destructive merge and the IMAQ AVI2 Write Frame.vi just threw it out.  Anybody have any idea why the overlay isn't showing up in the AVI?

 

Thanks,

Dave

==============================================

0 Kudos
Message 1 of 3
(3,971 Views)
Solution
Accepted by topic author Dave_Kaufman

Make sure to wire up an RGB (U32) DST Image to the Merge Overlay VI.

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
Message 2 of 3
(3,941 Views)

That did it - thanks.  It had worked before with the old version of AVI Write Frame, but not the new one.  Creating a new RGB32 IMAQ image and wiring that to the ImgDst terminal solved the issue.

==============================================

0 Kudos
Message 3 of 3
(3,861 Views)