When hal pins are changed, action for the ini value is taken
with no checks for suitability.
Includes a sim config for demonstration of pins:
configs/sim/axis/ini_hal_demo.ini
Refactor to:
Use tcl package (Hal) instead of halcmd
Use popup to show errors
Update displayed values by poll
(makes visible changes by multiple sim_pin guis or other setters)
Support signals if they have no writers
Detect and report pins/params that are not writable, e.g.:
pin not IN nor I/O
param not RW
pin connected to signal
signal connected to writer
Support multiple columns of items
Supports multiple pins with three modes available for each:
1) OnePulse
2) ToggleValue
3) 1 WhilePressed
Usage:
sim_pin pin_name1 [pin_name2 ...] &
Note: linuxcnc must be running
The pin(s) may not be connected to a signal