01-03-2014 02:03 PM
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
Solved! Go to Solution.
01-03-2014 07:18 PM
Make sure to wire up an RGB (U32) DST Image to the Merge Overlay VI.
01-06-2014 09:02 AM
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.