08-14-2015 02:27 AM
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?
08-14-2015 02:40 AM
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..