11-19-2014 01:27 PM
Hi,
In my programme a 2d-array has been created inside a while loop. I want to add up this 2d array by using shift register within the while loop as long as the loop continues. But it do not work. The output array is simply blank. It would be very helpful if any one knows the solution.
Best regards,
SJ
Solved! Go to Solution.
11-19-2014 02:56 PM
Hard to tell without seeing your code. But I'm guessing you've probably got something like figure 1 here:
You need to either initialise the shift register with an array of the correct size (number 2), or store the array rather than adding it on the first iteration (number 3). But if all you're doing is adding the arrays together, you might be better off with number 4 which uses the IMAQ Add function.
11-20-2014 09:37 AM
Thank a lot for your help.