LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to count double sum in labview

Solved!
Go to solution

Hi Taki,

Can you explain the meaning of this block?

 

Thanks.

 

original.png

0 Kudos
Message 11 of 27
(2,575 Views)

Hi Taki,

Can you explain the meaning of this block?

 

Thanks.

 

original.png

0 Kudos
Message 12 of 27
(2,575 Views)

the function is build array.

 

(... and I probably would not use it in this case, because the final array size is known from the beginning)

0 Kudos
Message 13 of 27
(2,568 Views)

OK, thanks so much. I think so too.

0 Kudos
Message 14 of 27
(2,565 Views)

@altenbach wrote:

the function is build array.

 

(... and I probably would not use it in this case, because the final array size is known from the beginning)



Agreed.  I kludged it in order to retain as much of OP's code as possible.

0 Kudos
Message 15 of 27
(2,553 Views)

Hi all. I did some changes and attach my version of solution, but it have errors, because I get array of sum in the same values.

 

Please, help me, what's the problem??? 

0 Kudos
Message 16 of 27
(2,552 Views)

I think you've got too many for loops.

 

You're looping over both Alpha_i and F_i.  I think you just want to loop over i.

0 Kudos
Message 17 of 27
(2,543 Views)
Solution
Accepted by topic author Moony

I think this is what you want but I'm still guessing a bit.

Also, it's not necessary to wire the N terminals on the for loops.  Your array sizes should determine the number of iterations.

Optical sum3.png

Message 18 of 27
(2,540 Views)

Hi Taki. Thanks so much. It works, but after first element in the array values are again equal. To my mind, the problem is in second for-loop. What do you think?

0 Kudos
Message 19 of 27
(2,535 Views)

Taki, after deleting N terminals it works Smiley SurprisedSmiley SurprisedSmiley SurprisedSmiley Surprised

 

Thanks Smiley Very Happy

Thanks Smiley Very Happy

Thaaaaaaaaaanks Smiley Very Happy 

0 Kudos
Message 20 of 27
(2,532 Views)