PYVCP Jog Buttons dont work after homing all axis

More
5 years 10 months ago #191900 by Heisenberg
Hallo,


ich bin noch ziemlich neu im Thema HAL und Co.

Ich habe mir aus der Anleitung "LinuxCNC Axis GUI erweitern" das Beispiel mit den 3 neuen Buttons gegriffen.

Das lief natürlich erst mal nicht, denn es haben sich ja einige Befehle mit der Version 2.8 (die läuft bei mir) geändert.

Nachdem ich dahinter gekommen bin und diese dann in den Dateien geändert habe, kommt nun das aktuelle Problem:

Die beiden Buttons für X- und X+ zu verfahren funktionieren nur, solange mindestens eine Achse noch nicht referenziert ist.

Kann mir jemand hier einen Tipp geben? Im Anhang findet ihr mal die Dateien.

Gruß Marcus

Please Log in to join the conversation.

More
5 years 10 months ago #191937 by Benb
net zs halui.joint.jog-speed <= pyvcp.jogspeed-f
change to
net zs halui.joint.jog-speed <= pyvcp.jog-speed-f
your missing dash -
linuxcnc.org/docs/2.8/html/gui/pyvcp-examples.html

Please Log in to join the conversation.

More
5 years 10 months ago #191971 by Heisenberg
Hi Benb,

thanks a lot for your help. I have changed the code as it is in the example from your link and it works fine.

Please Log in to join the conversation.

Time to create page: 0.194 seconds
Powered by Kunena Forum