12-07-2007 05:09 AM
12-07-2007 07:50 AM
You are reusing the same buffer for both images so the original image is being modified when you enter the snap case. You should create a U8 buffer outside of the loop and wire it to the destination of the cast image.
I dont have vision on my laptop so most of your vi is missing but this is my best guess based on limited information.