01-14-2011 06:22 AM
Hi Krivan,
I actually meant on the vi you improved. The first one you never used as shift register but on the second you use a shift register but initialise it with an empty array. This will cause nothing to happen.
Rgs,
Lucither.
01-14-2011 06:33 AM
So the constant should be replaced by an initialize array, is it correct?
01-14-2011 06:57 AM
Correct.
01-17-2011 09:05 AM
anything from the mdnb2?
01-17-2011 12:50 PM - edited 01-17-2011 12:51 PM
To average successive 2D arrays of the same dimension, you would do something like this:
Initialize a shift register with a 2D array of the same size. Inside the loop, add the new 2D array and accumulate successive 2D arrays in the shift register. At any time divide by the number of additions and you get a 2D array that contains the average.
Here's a draft. Modify as needed: