LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The sum of arrays of different size

Solved!
Go to solution

Hi,
how i can to sum multi arrays of different size.
sum.png
hank you .

0 Kudos
Message 1 of 2
(3,835 Views)
Solution
Accepted by topic author Sarah_LAB

Hi Sarah,

 

simple solution: make them the same length…

 

Other solution:

Determine the largest array size.

Use a (FOR) loop running for this number of iterations.

Index the arrays inside the loop and add the element values…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(3,834 Views)