01-02-2015 09:18 AM
I have single element numeric output which is inside while loop. Its value is changing in every while loop iteration. If lets say i want to add values of first ten while loop iterations of that variable. How can I do that.
See attach image for further clarification.
Thanks
JK
Solved! Go to Solution.
01-02-2015 09:29 AM
01-02-2015 09:43 AM
It is not working with your technique. My value is in the output variable and it changes with every while loop iteration. and I need to add output from all iterations.
Let say in 1 iteration its value is 1.5 and in 2nd iteration its value is 1.2. So after 2 iterations the sum should be 1.5+1.2 = 2.7. This is what I want to achieve. Hope I make myself clear
01-02-2015 09:50 AM
Hi Joseph,
how can the value in "output" change on it's own when "output" is just an indicator???
THINK DATAFLOW! Indicators are used just to display values. Then value has to come from some data source!
So my example should be ok, when you use your data source instead of the iterator output in my image…
01-02-2015 10:08 AM - edited 01-02-2015 10:13 AM
what do you expect after 10 iterations? we are assuming here with what little information given.