06-01-2009 04:51 AM
06-01-2009 05:05 AM
First of all, your three level buttons are outside the loop and thus will never get read except once at the start of the program.
A logical AND with a TRUE diagram constant is the same as a plain wire from the terminal. Simplify!
Why don't you use a radio button with the three level selectors. It is more appropriate because only one level can be active at any given time. Use it to index into an array of delays.
You can use the "elapsed time" express VI and "OR" the "elapsed?" output to the wire currently going to the stop terminal of the loop.