08-10-2011 12:35 AM
I'd like to perform a sum of elements of an array, using "For Loop" and "Formula Node" only. I wrote this program but it does not work. Can anybody advise?
Thanks..
08-10-2011 01:00 AM
Hi Splee,
Can you please post the vi in an earlier LV format (I have 8.5)?
08-10-2011 01:04 AM
here is the v8.5 version..
08-10-2011 01:35 AM
Why do you use Formula node? To hold on to the previous value in a for loop, I think you have to use a shift register.
08-10-2011 01:37 AM
Hi,
I'm not sure if that's what you meant, but it's working now (with slight modifications).
You can do it without a for loop too....
Hope this helps,
A
08-10-2011 02:29 AM - edited 08-10-2011 02:31 AM
Hi,You can also use the add array elements to do it directly.