I am trying to emulate the hardware pushbuttons, LEDs, rotary switches, et. al on control panel of an existing machine in a pyVCP panel. Current testing as I work out the layout is by running a simple shell demo with a pyVCP.xml file and associated pyVCP.hal file A few questions I'm not quite sure about, even after reading the the LinuxCNC Documentation:
1) Is it possible to 'latch' (toggle) a regular button? I figured out how to disable a button with another input, but would like to be able to latch a regular button closed/true instead of just being momentary.
2) Is it possible to disable an entire radiobutton array? I've not succeeded in disabling an array or even a single radiobutton. FWIW, I am using radiobutton arrays to emulate existing multi-position selector switches.
3) Is it possible to disable checkbuttons? I am using them to emulate keyswitches and as toggle buttons (although I'd prefer to use 'latched' regular buttons in most cases (see question 1).
Thanks!