Well, after monkey-ing around with it, I got rid of that error (still don't know how I got it or why it's not there anymore). However, I'm still not able to get the function to work properly. I've been toying with it for a few days and I'd really appreciate some pointers if possible. Attached is a small sample of the subvi with contants.
I have a 3D array of images in dbl array form. Each page on the array is an image with a circle on it. The circles are 1's and the rest of the image is 0. I am trying to find a way to combine all these images into one image in such a way that I can multiply each individual circle by a constant before it gets added into the image of all circles together. The reason why I cannot just build a for-loop and add them using a shift register is I need each circle to replace the value of the circle before it, if they happen to be overlapping. When adding all images together in a for-loop, if a circle intersects with another circle, their values add instead of replace.
Thanks,
Candice