sim_pin − gui for displaying and setting multiple Hal inputs
sim_pin name1 [name2 [name3 ...]]
If the named input is a numerical type, the gui displays:
Entry
Entry widget for new value
Set Button to set new value from Entry (or use
<RETURN>)
Reset Button to reset to the value present on
initiation
If the input is a bit type, the gui shows a single pushbutton that is controlled by the radio-button selectors:
OnePulse
Pulse input to 1 for each pushbutton press
ToggleValue Toggle input for each pushbutton press
1 WhilePressed Set input to 1 while pushbutton
pressed
LinuxCNC must be running
A named item can specify a pin, param, or signal. The named item must be writable:
pin IN or
I/O (and not connected to a signal with a writer)
param RW
signal connected to a writable pin
sim_pin can be used interactively from a shell command line or started automatically from a configuration ini file.
Example for ini file usage:
[APPLICATIONS]
DELAY = 5
APP = sim_pin \
halui.machine.off \
ini.traj_arc_blend_enable \
motion−command−handler−tmax