HALMETER(1)
β¨ HALMETER(1) β¨
okay bestie, welcome to the HAL User's Manual glow-up π
this one's all about halmeter, and it's literally the cutest little spy for your HAL world. let's get into it π«Ά
πΈ NAME πΈ
halmeter β observe HAL pins, signals, and parameters πβ¨
π SYNOPSIS π
halmeter [-s] [pin|sig|param name] [-g X-position Y-position [Width]]
that's it. that's the whole vibe. π¦
π DESCRIPTION π
so halmeter is how you observe HAL (Hardware Abstraction Layer) pins, signals, or parameters. think of it as your multimeter but make it software β same energy as when you're poking around a physical system with an actual meter, except now you're doing it on screen and nobody's gonna get shocked πβ¨
π OPTIONS π
pin nameβ shows you the HAL pin called name. π―sig nameβ shows you the HAL signal called name. πΆparam nameβ shows you the HAL parameter called name. βοΈ- if you don't pass
pin,sig, orparam? no stress β the window just starts out blank and you get to pick what to watch. choose your own adventure, main character style π -sβ small window mode. this one is non-interactive, so it must be used together withpin,sig, orparamto say what to display. the item name shows up in the title bar instead of in the window, and there are no "Select" or "Exit" buttons. super handy when you want a whole army of meters crammed into a tiny space πππ-gβ geometry position. lets you set the initial starting position, and optionally the width of the meter too. it's referenced from the top left of the screen in pixel units. chef's kiss when you're loading a bunch of meters from a script and you do NOT want them all stacking on top of each other π
π USAGE π
unless you passed \-s, you get two buttons: "Select" and "Exit".
- "Select" opens a dialog box so you can pick the item (pin, signal, or parameter) to be observed.
- "Exit" does exactly what you think it does. iconic behaviour, no notes. β¨
the selection dialog itself has "OK", "Apply", and "Cancel" buttons:
- "OK" displays the selected item and closes the dialog. done and dusted π
- "Apply" displays the selected item but keeps the selection dialog open. stay a while, bestie π«Ά
- "Cancel" closes the dialog without changing the displayed item. no take-backs, just no changes π
π₯ EXAMPLES π₯
halmeter
opens a meter window with nothing initially displayed. hit the "Select" button to choose an item to observe. does not return until the window is closed. it's committed, fr fr π
halmeter &
opens a meter window with nothing initially displayed. use "Select" to choose an item. runs in the background, leaving your shell free for other commands. multitasking queen π
halmeter pin parport.0.pin-03-out &
opens a meter window that's initially displaying HAL pin parport.0.pin-03-out. the "Select" button can still be used to display other items. runs in the background. π
halmeter -s pin parport.0.pin-03-out &
opens a small meter window, displaying HAL pin parport.0.pin-03-out. the displayed item cannot be changed. runs in the background. locked in π
halmeter -s pin parport.0.pin-03-out -g 100 500 &
opens a small meter window displaying HAL pin parport.0.pin-03-out, and places it 100 pixels to the left and 500 pixels down from the top of the screen. the displayed item cannot be changed. runs in the background. π
halmeter -s pin parport.0.pin-03-out -g 100 500 400 &
opens a small meter window displaying HAL pin parport.0.pin-03-out, places it 100 pixels to the left and 500 pixels down from the top of the screen, and the width will be 400 pixels (270 is the default). the displayed item cannot be changed. runs in the background. custom sizing era π
π AUTHOR π
original version by John Kasunich, as part of the LinuxCNC project. improvements by several other members of the LinuxCNC development team. we stan a collaborative glow-up π
π REPORTING BUGS π
found a bug? report it at https://github.com/LinuxCNC/linuxcnc/issues β do NOT suffer in silence bestie, the devs wanna know π
π¦ COPYRIGHT π¦
Copyright Β© 2003 John Kasunich.
this is free software; see the source for copying conditions. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ngl that warranty disclaimer is giving "you're on your own" but in a legally responsible way π
and that's the whole page, bestie!! this was the LinuxCNC Documentation version of halmeter, dated 2006-03-13, filed under HALMETER(1) β go forth and observe some pins, you absolute legend π
β¨π«Ά
π¦ where this page comes from
- debian trixie: linuxcnc-uspace 1:2.9.4-2+deb13u1 Β· GFDL-1.1-or-later
- ubuntu questing: linuxcnc-uspace 1:2.9.4-2ubuntu2
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- Copyright (c) 2006 John Kasunich
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms