Introducing halflow, an interactive graphical hal editor

More
05 Jun 2026 16:28 - 06 Jun 2026 06:26 #346918 by NWE
I am aware of one or more similar projects, but they did not seem to fit my use case.

This is entirely vibe coded. I have not studied the code. I chose GPL for the code license, but considering this is an ai production, I was wondering, maybe I should change it to 'public domain' ?

Use at your own risk. This software is not for use anywhere it could cause machine damage or personel injuries.

This project is currently 'pre-release' stage. It can be installed via git from [1].
you will need to install sshpass, and have ssh access over the local trusted network to linuxcnc.

Goals of this project:

1. Visualization of the current running hal config on any LinuxCNC machine over local trusted network.
2. Editing of parameter values, signal names and values.
3. Automatic detection of loadable hal components on the running LinuxCNC instance.
4. Load/Save configuration projects within the linuxcnc/configs directory.
5. Live parameter and pin value displays while connected to a live hal system.
6. Live editing of the running hal via net, setp, unlinkp, loadrt, and related commands over ssh connection to the machine directly via interaction with the nodes in the canvas. This action will be preceded by a popup strongly encouraging the user to first e-stop the machine. This will avoid having to constantly reload linuxcnc after minor edits.
7. Still dreaming...


Of the above list:

(1.) is working on my pc.
(2.) Is working.
(3.) detects installed components; to properly detect custom components make sure you fully installed with:
sudo halcompile --install my-custom-component.comp
sudo halcompile --install-doc my-custom-component.comp

TODO: find custom python components also.
(4-7) Coming soon...

[1]  git.disroot.org/nwe/halflow.git
Attachments:
Last edit: 06 Jun 2026 06:26 by NWE.
The following user(s) said Thank You: andrax, COFHAL, Surmetall

Please Log in or Create an account to join the conversation.

More
05 Jun 2026 17:51 #346921 by NWE
Signal wire colors default to color codes representing the signal type, but can be edited. If the rat's nest is a confusing mess of same-colored wires, double-click or right click a wire to edit its color. All wires connected to the same output are synced and will change to your edit.

You can also change the wire (hal signal) name, but the current version of halflow gives you no capability to load your edits back into your linuxcnc hal config.
Attachments:
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
06 Jun 2026 07:59 #346935 by NWE
man pages built-in.

Now working on real hal files import/export.
Attachments:
The following user(s) said Thank You: Surmetall

Please Log in or Create an account to join the conversation.

More
08 Jun 2026 12:41 - 08 Jun 2026 12:47 #346971 by NWE
This is becoming useful for debugging a running LinuxCNC instance. I still have some features to add and bugs to fix before releasing an installer.
Up-to-date source code is available at the link on my first post.
File Attachment:


video:
git.disroot.org/nwe/halflow/src/branch/m...a/halflow-tour-1.mp4
Last edit: 08 Jun 2026 12:47 by NWE.
The following user(s) said Thank You: koppi, tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.431 seconds
Powered by Kunena Forum