Have you turned on the Execution hiliting yet? It is the fifth button on the button-bar, next to the pause. It will animate the data flowing down the wires, and it will show FALSE going to the initilization of the feedback every time the diagram runs.
Delete the for loop and constant and I believe you are in business. What may at first seem confusing is that LV code doesn't reset all values when run. Uninitialized shift registers and feedback nodes keep values as long as they are in memeory, kind of like registers in HW do until powered down.
In other words, from one run to the next, from one call to the next, the feedback node will maintain the Boolean value.
A couple LV factoids:
Every datatype in LV has a default value -- no random stuff.
You can set the default of controls and even indicators, but unwired stuff gets what we call the default default, or the default value for the datatype. Generally these aren't hard to guess, things like zero and FALSE, empty strings and empty arrays.
When possible, LV maintains the value of uninitialized things, controls, indicators, shift registers, globals, etc. between runs and between calls. If you specify a value, it changes, otherwise it keeps its value. Recompiling will reset some of these, leaving memory reset all of them.
You can use an uninitialized shift register or feedback node that is always set to true to tell if code has run since loaded, or you can use the First Run node.
I've also attached a picture using a loop and shift register instead of the feedback.
http://www.chiefdelphi.com/forums/at...4&d=1218632460
http://www.chiefdelphi.com/forums/at...4&d=1218632460