I had about a month of free time between two jobs, so I put it into building my own open-source take on LabVIEW. It's called benchloom and it's up on my Github. To shake it down I wired it up to run automated tests on a 4€ Ikea 20W USB-PD power supply, checking efficiency, voltage stability and ripple. The bench had a Chroma programmable AC source, a Kunkin DC electronic load and a Hantek scope, all chained through an inline breakout board. There's a short video on my channel if you want to see it in action:
Spent a month between jobs building an open-source LabVIEW alternative
I messed around with GNU Radio a few years back for a hobby project and the moment you described the visual script converting to Lua at runtime, that clicked for me. From the way you put it, this looks closer to dataflow programming in the GNU Radio style than to LabVIEW proper, and honestly that suits me fine. Blocks passing data along wires, with the graph being the program, is a model I alredy know how to think in. The part I like most is being able to drop the visuals and work directly in Lua when a project gets messy. That is something I always wished LabVIEW offered. In my expirience the graphical layer is great til the logic gets complicated, and then you are fighting the diagram. Having a real text escape hatch without leaving the tool is a big deal.
Nobody doing bench automation should expect this to replace LabVIEW overnight. That package has decades of drivers and ready-made stuff like PID blocks and visualisation panels behind it, and any young project is going to be years from matching that shelf of solutions. But as free and open-source software that runs a full automated test bench with instruments from diferent vendors chained togehter, it is already a genuinely useful start. When you get the plugin editor going, that will lower the barrier for adding odd instruments nobody writes drivers for, which is where I suspect alot of us would actually use this.
The thing that has me interested is the Lua side of it, honestly. My own bench automation is a pile of Python scripts talking to instruments over SCPI, and the worst part was never the instrument control, it was that the logic lived in files nobody else on the bench could read or confidently edit. A visual graph that someone can open, plus text underneath that diffs cleanly in git, sounds like it solves the handoff problem that always killed these projects for me. One question that comes to mind: if someone edits the generated Lua by hand and then reopens the project in the visual editor, what happens? Does the graph get rebuilt from the code, or does it drift out of sync? That round-trip seems like the kind of detail that decides whether the two-mode idea actually works in practice.
Also glad the plugin editor is next on your list. With my scripts, adding a new instrument meant copying an old file and poking at it until it worked, which is exactly the kind of friction that stops a tool from spreading past the person who wrote it. If adding a device becomes a guided process instead of an archaeology job, that is when other people will actually build benches with it. Either way, a month between jobs well spent. I will keep an eye on the repo.
This sounds neat, I've always wanted to try automating my little bench but the software side scared me off. The way you describe it, you draw the test on screen and it turns into the code that actually runs, is that right? Also curious how the little wall wart supply held up, did the efficiency numbers come out close to what the label claims?
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required