SYNOPSIS
sim_pin [Options] name1 [name2 [name3 …]]
Options:
-
--help (shows help text)
-
--title title_string
For bit items, the name may include a /mode= specifier:
namei/mode=[pulse | toggle | hold] (default is toggle)
BESCHREIBUNG
HAL boolesche Elemente (Bit) und numerische Elemente (u32, s32, float) werden unterstützt.
Handelt es sich bei der benannten Eingabe um einen numerischen Typ, wird die GUI angezeigt:
- Entry
-
Entry widget for value or a valid Tcl expression.
- Set
-
Pushbutton to set new value from Entry (or use <RETURN>).
- Reset
-
Pushbutton 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 radio-button selectors:
-
mode=pulse Pulse input to 1 for each pushbutton press.
-
mode=toggle Toggle input for each pushbutton press.
-
mode=hold Set input to 1 while pushbutton pressed.
Wenn der Bitelementmodus mit einem Großbuchstaben beginnt, werden die Optionsschaltflächen zur Auswahl anderer Modi nicht angezeigt
ANMERKUNGEN
LinuxCNC oder eine eigenständige HAL-Anwendung muss ausgeführt werden
Ein benanntes Element kann einen pin, param oder signal angeben. Das benannte Element muss beschreibbar sein:
pin IN or I/O (and not connected to a signal with a writer)
param RW
signal connected to a writable pin
VERWENDUNG
sim_pin can be used interactively from a shell command line or started automatically from a configuration INI file.
BEISPIEL
Beispiel für die Verwendung einer INI-Datei:
[APPLICATIONS]
DELAY = 5
APP = sim_pin \
halui.machine.off/mode=pulse \
ini.traj_arc_blend_enable \
motion-command-handler-tmax