As an update, I can call the function, but what I really want to do is emulate the push button. I have stanard start/stop circuit with manul buttons, but I want to program the stop input. So when the process completes, I want to emulate pressing the stop button.