01-05-2021 04:01 PM
Dear Tim,
Thank you!
However, there was a problem with this method.
When the STOP is initially a false value, I can still run the program.
so I add a logical OR and a STOP to prevent the program from running; however, this doesn't work; the program still runs although it stops after 8000ms.
Should I add a case structure on the event structure?
Thanks!
01-05-2021 04:53 PM
You do understand that if you succeed in what you are trying to do, your processing loop will not complete its processing, right?
01-05-2021 05:12 PM
Whatever you did makes absolutely no sense.
Change the mechanical action back to "latch when released", get rid of all the green local variables and follow more closely the example given. All you needs is a TRUE constant in the stop event.
01-15-2021 05:21 PM
Thank you so much!