MUX8(9)

πŸ“¦
version 2.9.4 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– MUX8(9) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about mux8 β€” a HAL component, and literally the moment you've been waiting for: select from one of eight input values. eight!! that's a whole two-to-the-third of them. the math is mathing. πŸŽ€


✨ NAME ✨

mux8 β€” Select from one of eight input values

like, it's a mux. it has eight. you get it. πŸ’…


🌸 SYNOPSIS 🌸

loadrt mux8 [count=N|names=name1[,name2...]]

that's it, that's the whole vibe. load the thing, tell it how many copies you want or what to call them.


πŸ¦‹ FUNCTIONS πŸ¦‹

  • mux8.N β€” and listen, this one requires a floating-point thread. not a suggestion. not a gentle nudge. it needs the FP thread or it's simply not going to happen, i fear. 😭

πŸ‘‘ PINS πŸ‘‘

  • mux8.N.sel0 bit in
  • mux8.N.sel1 bit in
  • mux8.N.sel2 bit in

Together, these three little guys decide which inN value gets copied over to out. it's giving ✨selection committee✨.

  • mux8.N.out float out

This one follows whichever inN the three sel values point at. lowkey the main character here. the mapping is:

  • sel2=FALSE, sel1=FALSE, sel0=FALSE β†’ out follows in0
  • sel2=FALSE, sel1=FALSE, sel0=TRUE β†’ out follows in1
  • sel2=FALSE, sel1=TRUE, sel0=FALSE β†’ out follows in2
  • sel2=FALSE, sel1=TRUE, sel0=TRUE β†’ out follows in3
  • sel2=TRUE, sel1=FALSE, sel0=FALSE β†’ out follows in4
  • sel2=TRUE, sel1=FALSE, sel0=TRUE β†’ out follows in5
  • sel2=TRUE, sel1=TRUE, sel0=FALSE β†’ out follows in6
  • sel2=TRUE, sel1=TRUE, sel0=TRUE β†’ out follows in7

eight inputs, eight outcomes, zero ambiguity. ate. πŸ”₯

  • mux8.N.in0 float in
  • mux8.N.in1 float in
  • mux8.N.in2 float in
  • mux8.N.in3 float in
  • mux8.N.in4 float in
  • mux8.N.in5 float in
  • mux8.N.in6 float in
  • mux8.N.in7 float in

the whole squad. the full lineup. one of them is getting picked and the rest are just standing there looking pretty. 🫢


🌈 SEE ALSO 🌈

mux2(9), mux4(9), mux16(9), mux_generic(9).

yeah bestie, there's a whole mux family β€” small mux, medium mux, absolute unit mux, and the one that does literally whatever you want. iykyk. πŸ’œ


πŸŽ€ AUTHOR πŸŽ€

Stuart Stevenson β€” icon behavior, no cap. πŸ‘‘


⭐ LICENSE ⭐

GPL


so yeah. that's mux8. eight inputs, three selector bits, one output, and a truly flawless amount of ✨drama✨ for something that's basically a really fancy switch statement. go forth and multiplex, bestie. πŸ¦‹βœ¨

LinuxCNC Documentation β€” dated 2026-03-17, mux8(9), and that's a wrap, mwah πŸ’–πŸ’…

πŸ“¦ where this page comes from