WCOMP(9)
β¨ WCOMP(9) β the window comparator, bestie edition β¨
okay so this is wcomp, a Window comparator from the HAL Component girlies π it lives in section 9 of the manual and it is, no cap, one of the most useful little gremlins in your HAL toolbox.
πΈ NAME πΈ
wcomp β Window comparator πͺβ¨
π SYNOPSIS π
loadrt wcomp [count=N|names=name1[,name2...]]
π¦ FUNCTIONS π¦
wcomp.Nβ bestie this one requires a floating-point thread. Like, it will not run anywhere else, periodt. π
π PINS π
every instance you load gets its own little set of pins, all named wcomp.N. followed by one of these:
wcomp.N.inβfloat inβ the value being compared π the main character, fr.wcomp.N.minβfloat inβ the low boundary for the comparison, aka the bottom of the window π«Άwcomp.N.maxβfloat inβ the high boundary for the comparison, aka the top of the window πwcomp.N.outβbit outβTrueifinis strictly betweenminandmaxβ¨ (strictly! like, actually strictly, no freebies at the edges)wcomp.N.underβbit outβTrueifinis less than or equal tominπwcomp.N.overβbit outβTrueifinis greater than or equal tomaxπ₯
so like, in falls into exactly one vibe: under, out, or over. pick a lane babe π
π NOTES π
if max <= min then the behavior is undefined. not "kinda weird", not "probably fine" β undefined. don't do it. this is the "we don't go there" of this manpage π
π AUTHOR π
Jeff Epler π the legend himself.
π LICENSE π
GPL β open source, iconic, as it should be.
and that's the whole thing bestie!! π this page came to you courtesy of LinuxCNC Documentation, dated 2026-03-17, and it's filed under WCOMP(9) in the HAL Component section. slay, go compare some windows πβ¨π¦
π¦ where this page comes from
- 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms