axis select

More
3 years 1 month ago #281355 by Aciera
axis select was created by Aciera
Try using

halui.axis.L.select bit in

pin for selecting axis by letter

Please Log in to join the conversation.

More
3 years 1 month ago #281359 by Aciera
Replied by Aciera on topic axis select
Could you attach your ini and hal files?

Please Log in to join the conversation.

More
3 years 1 month ago #281373 by Aciera
Replied by Aciera on topic axis select
in your hal file none of the halui.axis.L.select pins are connected to anything.
Example here for axis x, same for y,z,a,b :

net joint-select-x halui.axis.x.select

Please Log in to join the conversation.

More
3 years 1 month ago #281379 by Aciera
Replied by Aciera on topic axis select
which graphical interface are you using?

Please Log in to join the conversation.

More
3 years 1 month ago #281382 by Aciera
Replied by Aciera on topic axis select
Yes in AXIS gui, halui.axis.L.select will not change the mark of the selected axis.

I'm not sure if there is another gui with axis selection as most seem to provide separate jog buttons for all active axes.

Please Log in to join the conversation.

More
3 years 1 month ago #281577 by phillc54
Replied by phillc54 on topic axis select
This should work for the AXIS GUI. Copy the attached file to your config directory then edit the INI file, in the [DISPLAY] section add:
Code:
USER_COMMAND_FILE = axis_selection.py
This will change the axis selection on the 0 to 1 transition of any halui joint/axis select pin.
 

Attachment not found

Please Log in to join the conversation.

More
3 years 1 month ago #281691 by phillc54
Replied by phillc54 on topic axis select
What version of LinuxCNC are you running?

I just tried 2.8 on Buster and that works fine. I have test on 2.8, 2.9 and master.

Are you running it as a USER_COMMAND_FILE for the AXIS GUI in your INI file?

 

Please Log in to join the conversation.

More
3 years 1 month ago #281693 by phillc54
Replied by phillc54 on topic axis select
Can you run LinuxCNC in a terminal and screenshot the exact error.

Please Log in to join the conversation.

More
3 years 1 month ago #281697 by phillc54
Replied by phillc54 on topic axis select
Is it possible that axis_selection.py has got some DOS/Windows style line endings?
You could try a copy paste from here:
Edit: Code fixed  here
 

Please Log in to join the conversation.

More
3 years 1 month ago #281700 by phillc54
Replied by phillc54 on topic axis select
What Linux distribution are you using?
My testing has been on Debians Buster and Bookworm.

Please Log in to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum