Hello,
This is my first post here, but this looks like a great place to discuss labview.
I have a strange problem that probably has a simple answer.
Basically, I have initialized an array outside of a "for loop" that contains a "flat sequence structure." I use the array inside the flat seq structure, replacing elements within the array, incrementaly by 1 starting with index 0, so i have run a wire through the "for loop" barrier and then through the "flat seq structure box".
However when I step through my VI what happens is this.
On the first run through, it succesfully changes the element at index 0. On the next iteration it succesfully replaces the element at index 1, however, now index 0 has returned to its initial value!
.... This continues.... say im up to my 100th iteration, all the previous indexes have all returned to their initialized value but index 99 (its the 100th iteration) now has the value it should...however on the next iteration, index 99 will return to its initialized value.... its a vicious cycle..
Can anybody tell me what I've screwed up?
Thanks a Million,
Nick