09-22-2011 10:07 AM
I have an Exit button (latch on release) which exits my program. In the button's Value Changed event, I read its value and return it to the stop terminal of the enclosing while loop.
I want to programatically fire that event. However, when I set the "Val(Sgnl)" attribute of the button, I get an error because the button has a latch action.
How can I fire that event or "click" the button programatically?
09-22-2011 10:19 AM
Change the mechanical action. You can just reset the value programatically to simulate latching action.
09-22-2011 10:49 PM
You can configure exit button event with User event function and you can keep same event case for both. You can generate this user event anywhere in your code
09-22-2011 11:25 PM