radiobutton(9)
| RADIOBUTTON(9) | HAL Component | RADIOBUTTON(9) |
NAME
radiobutton - Select one from several outputs with momentary switches
SYNOPSIS
loadrt radiobutton [count=N|names=name1[,name2...]] [personality=P1,P2,...]
DESCRIPTION
This component creates personality inputs to select one of several outputs. When sel-N is momentarily set high then the corresponding bit output out-N will be set high and other outputs will be set low. Simultaneously the value on the pin input-N will be copied to the value pin. The selected pin will indicate which set of outputs is currently active. Note that channel-0 should be used to provide the default values.
FUNCTIONS
PINS
- Inputs to select a channel
- output selected
- indicates which output is currently active
- Possible output values
- currently-selected output value
AUTHOR
Andy Pugh
LICENSE
GPL 2+
| 2026-07-17 | LinuxCNC Documentation |
