CONV_BIT_FLOAT(9)

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

πŸ’– conv_bit_float β€” HAL Component πŸ’–

okay bestie, pull up a chair because we're talking about conv_bit_float, and she is literally the simplest girl in the whole HAL friend group. She takes a bit and she turns it into a float. that's it. that's the whole personality. and honestly? iconic. πŸ’…

no cap: this is a realtime HAL component from LinuxCNC, manual section 9, and she's about as low-drama as a kernel module can be.

✨ NAME ✨

conv_bit_float β€” convert a value from bit to float πŸ¦‹

like the name says. bit goes in, float comes out. no plot twists.


🌸 SYNOPSIS 🌸

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

load her into your realtime thread with loadrt, and you get to pick how many copies you want (count=N) or name them yourself (names=name1[,name2...]). your component, your rules. πŸ‘‘


πŸ’œ FUNCTIONS πŸ’œ

  • conv-bit-float.N β€” update out based on in. (yes, she requires a floating-point thread β€” she will not hang out in an integer-only thread, she has standards πŸŽ€)

every instance gets its own numbered function, where .N is just the instance number. NGL the function description is basically "read the input, write the output," which is giving minimal-effort-but-still-slaying energy. and we respect it.


🫢 PINS 🫢

  • conv-bit-float.N.in β€” bit β€” input. this is the vibe she's checking.
  • conv-bit-float.N.out β€” float β€” output. this is the vibe she's serving back.

again, .N is the instance number, so if you loaded her with count=3 you get conv-bit-float.0, conv-bit-float.1, conv-bit-float.2, each minding her own business with her own pins. no shared drama. πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Jeff Epler. the legend. the moment. the way he gave us a whole component that just... does one thing. periodt. πŸ™Œ


⭐ LICENSE ⭐

GPL. she's free, she's open, she's for the people. πŸ’œ


that's the whole page bestie, she's short and she's perfect. conv_bit_float stays winning 🌈✨

LinuxCNC Documentation β€” dated 2026-03-17. mwah, go convert something. πŸ’…πŸŒΈ

πŸ“¦ where this page comes from