OK, even though Irak thinks I'm on the wrong path, until I hear back, and because I actually think I'm close, I'm going to try and post where I'm at with trying to get this version of the toolprobe gui working under Axis:
github.com/alkabal/PSNG_V3/tree/Master
I'm working that one because it's the only one of the bunch that Irak lists back on page 64 of this thread (wherein everyone agrees this has gone crazy) which claims specifically to work for LinuxCNC Version 2.9.
The good news is the screen does work and display, so the python2 vs. python3 issues that I had trying to make other packages work are not a problem (at least under the AXIS GUI. While I'd be frankly happy to switch to gmoccapy or QTDragon, I've made more progress here on axis thatn gmoccapy, and QTD has only just posted the source fixes to support 5 axes, which is what I need, so for now I'm sharing and crunching on axis).
So.... question for the community:
What are the pros and cons of the following in your .ini file, in the [DISPLAY] section:
Code:
EMBED_TAB_COMMAND=gladevcp -c probe -x {XID} -u nc_subroutines/psng/python -H nc_subroutines/psng/psng.hal nc_subroutines/psng/psng_mod.glade
vs
Code:
EMBED_TAB_COMMAND=gladevcp -c probe -x {XID} -u nc_subroutines/psng/python nc_subroutines/psng/psng_mod.glade
From what I can see, option 1 has the advantage of not crashing if there's an error in the .hal file being pushed to the glade file by the -H switch, and of finally delivering a very zen-experience fully-grey screen (ie, no functioning glade on the probe tab). Oops, mostly this is a disadvantage.
Option 2 has the dis-advantage of crashing before starting LinuxCNC if there's a problem in the .hal file, and then telling you error screen exactly what the problem is. Ooops, I did it again: seems like mostly an advantage.
But is there a good reason for passing the .hal file in the gladevcp command?
Anyhow, the problem with the (attached) .hal file appears to be: "Pin 'probe.toolchange_change' does not exist."
So I'm going to post this while I try to figure out what was intended in probe.toolchange_change, and therefore how to fix it.
(my first guess is that the reason one needs to send the .hal file on the gladevcp command is that this pin is possibly defined in there, and the hal is crashing on me because it can't possibly connect to it's glade definition, in which case I still won't know why there's a grey zen-screen on the probe tab)
Cheers!