Advanced Search

Search Results (Searched for: )

  • Lcvette
  • Lcvette's Avatar
08 Sep 2026 02:46

(Solved) Probe Basic - HAL pins not being created

Category: QtPyVCP

No not at all I'm telling you from my experience in finding what I said above. It got me in a bunch of trouble.

The py files in the config are created, but the backend code, NOT by a user or me. So when you edit them directly you're changing how they work when loaded. This breaks things that you're likely unaware of and then you ask ai to solve again and it says hey I'll keep going until it works and it's breaking it further...

Hence why I'm saying only edit in the ui in qt designer. When that ui compiles, it updates the py files correctly using all the required init.

Widget rules are built inside designer, formatting can be done in designer under the style sheet. It's ok to ask ai for code to put in designer but not edit the py file or things get out of synch in how they are loaded.

So again never edit anything outside of designer or you are guaranteed to break something that pops up (such as your hal issue and not loading in the correct order or at the correct time).

Two developers tried to create your issue and neither of us could. But we also build correctly in designer only. So finding an issue is all but impossible when the rules get bypasssed from an edit made outside the working system.

That's not too say ai cannot be helpful but how you use it matters. You can't say Claude do this for me unless you specifically give Claude rules to abide by and remain faithful to the existing code architecture. Not knowing how that works means Claude will just find the quickest way to make problem A go away regardless of creating problem B and C. It will even create tests and if they fail it will change the test until it gives a successful result even if that means cheating the test to give that result. And then with bold confidence it will tell you it's fixed the problem with it's own "proof" of the solution

To use Claude correctly you really need to install a dev install with a local pip been where you can give Claude access to the full qtpyvcp repo and probe basic two and linuxcnc repo and open that in a dev folder in vscode where Claude can work through the existing architecture. This will give you better results, but you still need to perform all your machine use config ui work direct in qtdesiger. Using output explanations from the Claude chat.

The very first probably to Claude would be too create a working knowledge base of the 3 softwares and how they interact. And that will take several prompts alone to fill in the gaps.
  • PCW
  • PCW's Avatar
08 Sep 2026 02:41 - 08 Sep 2026 03:22
Replied by PCW on topic Encoder question

Encoder question

Category: Computers and Hardware

1. Please post your hal and ini files

2. Measure the output voltage of the 7I97T to see that it changes with position error.

I also tried swapping the +- leads going to the drive and that didn't work,

Note that this usually ends up shorting out the analog output

 
  • spumco
  • spumco
08 Sep 2026 01:57

(Solved) Probe Basic - HAL pins not being created

Category: QtPyVCP

You need to stop editing the py files, they are generated from ui file and your going to break things doing what you are doing. All edits must be performed in the ui in qt designer as things are designed. I'm going to go out on a limb and say your other issues come from allowing ai to edit files directly. A warning, ai sucks at xml and ui editing because it rarely has our understands the complete context. And if you don't know when it's hallucinating to guide it back to reality it's going to continue down the wrong rabbit hole. Just do your edits/work in designer where it builds the file correctly on start up and correctly uses all necessary code to initiate the used widgets. Your ai generated posts are mostly hallucinations where it may seem confident in it's conclusion but it's completely out in left field and no where near what's actually happening.

Ai seems wonderful until you realize it's extremely fallible.
 

Appreciate your take on it.

I've not touched any of the probe_basic py files, qss files, or anything outside of the config/user_nnn/ folders.

Unfortunately, I am not able to diagnose the various issues without assistance when I can't accomplish what I want in qtpyvcp/qt/PB.  And I would prefer not to pester you or other skilled folks unless absolutely necessary.

I have zero coding skills, period.  I can work out HAL logic no problem, but figuring out how to create a widget rule, stylesheet, or other text/terminal-based edits is a no-go without some sort of assistance.

I tried to add some hal leds.  Didn't work until AI helped me discover it was the layout (as you pointed out).

Once there, I tried to create a widget rule for the hal pins.  Didn't work.  Still doesn't, but without AI I wouldn't have discovered there's no widget rule channel for HAL items.  I would have either given up, or I would have fiddled with everything I could until I broke it and had a tantrum.

With AI help, I now have user-button panel & sidebar indicators that work exactly as I want, and a DRO that's as close to what I want as is reasonable.  Getting to this point would have been impossible without AI assistance, or at best would have taken weeks of back-and-forth over the forum.

I'm sorry if I'm coming off as a clown who's spamming you or muddying the waters with AI slop.  I genuinely hesitated to post anything, including the current GH issue I've got open, but I thought it might be helpful.  Even the "easy fix, you haven't formatted the sidebar..." was a non-obvious problem to me.

And thank you for all the work you've done.  Seriously.
  • Tinker
  • Tinker
08 Sep 2026 01:46 - 08 Sep 2026 01:48
Replied by Tinker on topic Encoder question

Encoder question

Category: Computers and Hardware

I have tuned the servo driver to be totally still via the pots when no input is present. Its the balance (RV8) pot. I did this per the manuals instructions. I am unable to even try to do the mentioned tests because the servo has a mechanical advantage of a 90/1 worm drive and just runs... i would not dare to try to stop that thing.. LOL!!!
  • tommylight
  • tommylight's Avatar
08 Sep 2026 01:35
Replied by tommylight on topic Anilam 1100 and Mesa 7i97t

Anilam 1100 and Mesa 7i97t

Category: Milling Machines

You did not clean the chips so i can not the the one close to the port.
It does seem like outputs for the relays, but no way of being certain without checking the wiring with a DVM, they might as well be inputs.
If the pins are wired to those ULN chips outputs, they should be outputs for relays.
  • Tinker
  • Tinker
08 Sep 2026 01:32 - 08 Sep 2026 01:39
Replied by Tinker on topic Encoder question

Encoder question

Category: Computers and Hardware

So i tried changing the sign of the scale via Mesa CT with no change, also tried changing the analog scale so they were backwards with no change.. should i try changing something in my hal file or ini? I also tried swapping the +- leads going to the drive and that didn't work, i had to change some +- signs with the scale and encoder and basically gave me the same result but now in reverse...
  • tommylight
  • tommylight's Avatar
08 Sep 2026 01:31
Replied by tommylight on topic emco compact 55 mill. Just starting

emco compact 55 mill. Just starting

Category: Milling Machines

You can use more than one parallel port, there are add on card with two ports on one card, so there are options.
If you can stretch the budget, the Mesa 7i96S should be perfect, 5 step/dir, 1 full spindle with feedback, i think 11 inputs and 6 outputs but i had 7i96 without the S.
And very easy to wire in as it has terminals for everything, and another and, it has a free IDC26 port you can use to wire in if you already have something wired to a DB25 port, just needs a flat cable adapter.
  • tommylight
  • tommylight's Avatar
08 Sep 2026 01:25
Replied by tommylight on topic Encoder question

Encoder question

Category: Computers and Hardware

When i disconnect the +-10V from the mesa card it holds position and is what im assuming is waiting on a +-10v signal.

Analog servos should turn slowly when there is no input signal.
Can you move it by hand? Does it kick back in place when released? Or does it actively refuse to move?
  • tommylight
  • tommylight's Avatar
08 Sep 2026 01:21
Replied by tommylight on topic (Solved) Probe Basic - HAL pins not being created

(Solved) Probe Basic - HAL pins not being created

Category: QtPyVCP

MODS - please mark [SOLVED]

Done, thank you.
  • Lcvette
  • Lcvette's Avatar
08 Sep 2026 00:48

(Solved) Probe Basic - HAL pins not being created

Category: QtPyVCP

You need to stop editing the py files, they are generated from ui file and your going to break things doing what you are doing. All edits must be performed in the ui in qt designer as things are designed. I'm going to go out on a limb and say your other issues come from allowing ai to edit files directly. A warning, ai sucks at xml and ui editing because it rarely has our understands the complete context. And if you don't know when it's hallucinating to guide it back to reality it's going to continue down the wrong rabbit hole. Just do your edits/work in designer where it builds the file correctly on start up and correctly uses all necessary code to initiate the used widgets. Your ai generated posts are mostly hallucinations where it may seem confident in it's conclusion but it's completely out in left field and no where near what's actually happening.

Ai seems wonderful until you realize it's extremely fallible.
  • spumco
  • spumco
08 Sep 2026 00:11

(Solved) Probe Basic - HAL pins not being created

Category: QtPyVCP

@Lcvette - thanks, took me and the AI overlord a while to figure out why the pins were showing up in halshow but not being displayed.

MODS - please mark [SOLVED]
  • PCW
  • PCW's Avatar
07 Sep 2026 23:26
Replied by PCW on topic Encoder question

Encoder question

Category: Computers and Hardware

Is it possible you have the feedback reversed?
(check by changing the sign of the PWM scale)
  • raf1110
  • raf1110's Avatar
07 Sep 2026 22:31
Replied by raf1110 on topic Looking for consultant

Looking for consultant

Category: General LinuxCNC Questions

Omg That would be great opportunity but I am in UK :( If You not require me on site and I can help anyhow I can try.
  • Lcvette
  • Lcvette's Avatar
07 Sep 2026 20:33

(Solved) Probe Basic - HAL pins not being created

Category: QtPyVCP

easy fix, you have not formatted the sidebar by adding a widget container or telling the current widget container to format vertically or horizontally so the widgets are there but out of view. need to add a layout format type by right clicking and selecting from the bottom options in the right click dialog.
  • FabLabRacing
  • FabLabRacing
07 Sep 2026 20:13

CNC File Shuttle v1.0.0 – Simple local/SFTP G-code transfer utility

Category: Show Your Stuff

I’ve released the first version of a small utility called CNC File Shuttle.
I originally wanted a simple way to send G-code files to a LinuxCNC computer with the same basic convenience I was accustomed to on another controller: select some files, choose the destination folder, send them, and see whether the controller and LinuxCNC are online.
CNC File Shuttle is written in Python/Tkinter and supports Windows, macOS, and Linux. I have primarily developed and tested the packaged Windows version, transferring files to a LinuxCNC computer over SFTP. macOS and Linux can currently run it from source.
Main features:
* Local folders, mapped drives, mounted shares, USB drives, or SFTP destinations
* Saved machine profiles
* Multi-file queue with destination preview
* Local and remote destination-folder browsing
* Requeue completed files without selecting them again
* Ask, always-overwrite, and skip-existing options
* SSH-key generation and guided public-key installation
* SSH host-key fingerprint verification
* Transfer progress and remote file-size verification
* Automatic read-only LinuxCNC status monitoring
* Display of the loaded program and current executing line
* Protection against overwriting the program currently active in LinuxCNC
* Failure-only diagnostic logs
The LinuxCNC status portion is intentionally read-only. It uses `linuxcnc.stat()` through a small helper installed under the remote user’s `~/.local/share/cnc-file-shuttle` directory.
It does not create a LinuxCNC command channel and cannot start programs, jog or home axes, reset E-stop, change machine power, or issue MDI commands.
Status monitoring also does not impose a blanket transfer lockout while the machine is running. Unrelated files can still be transferred, but the application blocks an attempt to overwrite the exact program path LinuxCNC reports as active.
SFTP is handled internally with Paramiko. The application supports key-based or password authentication, although key authentication is the intended normal setup. Passwords and private-key passphrases are used only for the current operation and are not stored in machine profiles.
The Windows release is packaged as a one-directory application, so Python does not need to be installed. The complete extracted folder must be kept together.
The project is MIT licensed. Source code, installation instructions, and the Windows release are available here:
CNC File Shuttle on GitHub
This is the first public release, so feedback is welcome—especially testing on macOS or Linux, different LinuxCNC versions, and installations using program-directory layouts different from mine. If something fails, the Activity Log and automatically generated failure log should provide useful information for tracking it down.
 
Displaying 121 - 135 out of 13538 results.
Time to create page: 0.237 seconds
Powered by Kunena Forum