05-14-2007 11:36 AM
05-14-2007 11:03 PM
05-15-2007 06:20 AM
05-15-2007 06:44 AM
05-15-2007 09:45 AM
Glad it is fixed.
I knew I wasn't being clear enough about resetting the image. I wouldn't worry about disposing of the images at the end of the run. It is okay to just reuse them during the next run. You also get look at them after the run, which is a big advantage.
I was specifically talking about the image you are using for your average. It starts with image from the previous run, instead of all zeroes. It is kind of like an uninitialized shift register. The vi I was suggesting was IMAQ FillImage, which sets all the pixel values to zero (or whatever value you specify). It is found under Vision Utilities -> Pixel Manipulation. I would use it to initialize your image summation right before the loop.
Bruce