08-23-2007 08:13 PM - edited 08-23-2007 08:13 PM
Message Edited by happybird on 08-23-2007 08:14 PM
08-23-2007 09:14 PM - edited 08-23-2007 09:14 PM
Inside your true case, put a flat sequence structure. Do everything you want to do in the first frame. In the second frame, write a false constant to a local variable of that boolean.

Message Edited by Ravens Fan on 08-23-2007 10:14 PM
08-23-2007 09:16 PM
Right-click the boolean and change the mechanical action to e.g. "latch when released". It will turn TRUE until the code reads the value once, then change back to false.
(Your program does not make a lot of sense. You definitely need a small wait inside the loop and maybe you should use an event structure isntead of a case structure. What are you actually trying to accomplish?Can you explain?)
08-24-2007 06:18 AM