11-22-2007 02:49 PM
11-22-2007 04:05 PM
Place an indicator on the loop counter [i] and you will see that is is waiting just fine. Of course any front panel activity (mouse down, key down, etc.) will terminate the wait.
"Wait for front panel activity" is realtively crude tool to pace a loop. You might want to use an event structure instead, e.g. for "OK button: value changed". What is the program actually supposed to do?
You should also eliminate the local variable, it just complicates the code and requires an additional copy of the data in memory. Instead, you can place the string indicator terminal after the case structure and wire the strings from the various cases to it using a single output tunnel. The numeric indicator should be blue (right-click..representation..I32) to match the datatype of the wire.
11-24-2007 05:49 PM