Looking to get help scripting a momentary push button using the onClick action.
Very new to python. So far i've created a custom parameter at the root container level called: "start_man" and using that in my onClick script.
How do I script "self.parent.custom.start_man" to momentarily turn the boolean tag on which i've binded to "start_man"
Momentary push buttons through HMIs are not recommended. This thread will lead to discussions about them:
Or just all these threads (notice all the problems they tend to have):
https://forum.inductiveautomation.com/search?q=momentary%20push%20button
However, if you have to, you could use system.tag.writeBlocking in a Button's onMouseDown
and onMouseUp
events. I would personally not do it this way.