Disable Jog-Buttons

More
9 years 9 months ago #86959 by Chre9
Disable Jog-Buttons was created by Chre9
Hey guys,

I have a question concerning the jog buttons in gmoccapy:
Is it possible to disable single jog buttons and turn them grey when the axis is not enabled?
axis.0.jog-enable could be used for example.


Thanks in advance!

Please Log in to join the conversation.

More
9 years 9 months ago #86989 by newbynobi
Replied by newbynobi on topic Disable Jog-Buttons
Yes, that is possible, but you will need to edit the glade file.
I will add in future release the possibility to hide all jog button, but I was not thinking about disabling only some of them.

It is not as easy as it sound, just to take only the pin, as the GUI should not connect hal pin by itself, as that could lead to several other problems.

Norbert

Please Log in to join the conversation.

More
9 years 8 months ago #87145 by Chre9
Replied by Chre9 on topic Disable Jog-Buttons
Ok, I think I'll leave that out then, as I'm not really experienced working with glade.

Thanks for your quick answer! :)

Please Log in to join the conversation.

More
9 years 8 months ago #87147 by newbynobi
Replied by newbynobi on topic Disable Jog-Buttons
Are you using master, or 2.7?
In Master it is possible to hide all jog button just adding a INI settings.

Just change the line
Code:
[DISPLAY] DISPLAY = gmoccapy

to be:
Code:
[DISPLAY] DISPLAY = gmoccapy -logo /path_to_a_valid_logo_file

valid files are png ; bmp ; jpg ; gif

I added that feature to allow machine integrators to hide the jogging button and display in that area their own logo.

Norbert

Please Log in to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum