LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding an array of numbers every one second

Hi! I want to add an array of numbers every second. Let's say the value of the array x is 2, and every one second the output value will keep increasing every second to add the value. Basically the 1st second the output is 2, 2nd second will be 4 and so on.. How can I do this?

0 Kudos
Message 1 of 2
(3,161 Views)

Sounds confusing. Do you have an existing array and you want to do a running sum, adding element by element to a scalar, starting with the first element? Something else?

 

Try using an autoindexing FOR loop containing add array elements ptbypt..

0 Kudos
Message 2 of 2
(3,149 Views)