04-07-2008 02:29 AM
Hi,
I have a problem with 2Darray and loop with register shift
I have 2 1D array row X and row Y (the data are always Boolean (0,1)
In the final, I have one 2D array which represents X.Y.
In the result of the multiplication, if I have one, I
add +
Step 1 : X = 00 and Y = 10
The result is of the output array is :
10
10
Step 2 : X = 11 and Y = 10
The result is of the output array is :
01
01
But I want to have this result for the output array : (previous output array + new array = new array)
10 + 01 = 11
10 + 01 = 11
Step 3 : X = 00 and Y = 10
The result is of the output array is :
10
10
But I want to have this result for the output array :
11 + 10 = 21
11 + 10 = 21
The problem, is that for each loop for the ‘loop with register shift’, Labview take the the previous data, but the init array.
Can someone help me ?
Thanks
04-07-2008 02:54 AM
04-07-2008 03:07 AM
04-07-2008 05:13 AM
04-07-2008 06:20 AM
04-07-2008 06:40 AM
04-07-2008 06:54 AM
04-07-2008 10:03 AM
04-08-2008 01:08 AM
04-08-2008 01:58 AM