09-21-2005 03:50 AM
09-21-2005 04:05 AM
hi there
the while-loop waits for all the code contained in it to finish until it turns again. the event-structure has no time-out case defined, so if "Boolean" dosn't change it waits eternally. that's why the "Boolean 2" seems to be locked, because this code is not executed any more until the next turn of the while loop.
add a timeout-event (event source = Application) and connect the event timeout (e.g. 100 ms). be aware that the reaction to a change of "Boolean 2" takes up to timeout ms. another option is to put the code inside the timeout-case.
best regards
chris
09-21-2005 05:18 AM
Thanks chrisger!!
The problem is solved.....the vi's run correctly....
Bye!
Larson