On Tuesday 05 October 2021 03:33:15 andy pugh wrote:

> On Tue, 5 Oct 2021 at 03:36, Chris Morley <chrisinnana...@hotmail.com> 
wrote:
> > You could probably add code to AXIS with axisrc option but that
> > would require someone to help you figure out how.
>
> Googling for this jogaxisget.comp to find out what it was, I found
> prior discussion on this mailing list, including a .axisrc fragment.
>
> https://www.mail-archive.com/emc-users@lists.sourceforge.net/msg87045.
>html

That is slightly different from the code I have and is several years 
younger. I'll test it and report.

tested fails and closes LinuxCNC shortly after fully drawing the gui.

I tried then to modify it for 2 axis, not 3, and it prints this as it 
quits:

Traceback (most recent call last):
  File "/usr/bin/axis", line 4190, in <module>
    live_plotter.update()
  File "/usr/bin/axis", line 948, in update
    user_live_update()
  File "/home/pi/.axisrc", line 46, in user_live_update
    if "xyzabcuvw".index(vars.current_axis.get())!=0:
AttributeError: 'Variables' object has no attribute 'current_axis'

And I have no clue what that actually means. line 46 is the start of the 
code that I think is looking at the current status. But thats with my 
older postgui.hal, so let me also fix that.
Moves the error to line 44 of postgui.hal, which is:
44 net axis:0:kb jogaxisget.0.Xin0 axis.0.kb-jog-active <- can't find

45 net axis:1:kb jogaxisget.0.Yin0 axis.1.kb-jog-active
46 net axis:2:kb jogaxisget.0.Zin0 axis.2.kb-jog-active

Thanks Andy.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to