Well, the controls[] property gives you indicators and controls and most likely you don't have events for indicators (even though I do sometimes ;))
Also, all latch action booleans won't work that way.
If you blindly want to fire all controls, you could do something like in the attached code skeleton.
Most likely, there are better ways to solve the problem. ;). You probably have multiple controls firing the same event, so you would do duplicate work. It might also be that your controls need to be triggered in a certain order.
I have the feeling that your code could be simplified. What needs to possibly be "initialized"? Shift registers can be initialized outside the loop. Why don't you run your VI, manually operate all your controls to update all indicators, then make all values default. Save the VI. See how much is left that still needs to be initialized. Just add a copy of that code before the main loop. 🙂
Message Edited by altenbach on 06-16-2007 01:44 PM