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
(3,394 Views)

Hi Taki,

Can you explain the meaning of this block?

 

Thanks.

 

original.png

0 Kudos
Message 12 of 27
(3,394 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
(3,387 Views)

OK, thanks so much. I think so too.

0 Kudos
Message 14 of 27
(3,384 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
(3,372 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
(3,371 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
(3,362 Views)
Solution
Accepted by 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
(3,359 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
(3,354 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
(3,351 Views)