Disable manual tool change dialog
16 Mar 2023 09:34 - 16 Mar 2023 09:35 #266816
by MichalHK
Disable manual tool change dialog was created by MichalHK
Attachments:
Last edit: 16 Mar 2023 09:35 by MichalHK.
Please Log in or Create an account to join the conversation.
16 Mar 2023 10:45 #266820
by HansU
Replied by HansU on topic Disable manual tool change dialog
I guess it's done with disconnecting these pins: linuxcnc.org/docs/2.9/html/gui/gmoccapy.html#_tool_related_pins
Please Log in or Create an account to join the conversation.
16 Mar 2023 12:04 #266829
by MichalHK
Replied by MichalHK on topic Disable manual tool change dialog
Yes that was first that I check.
Problem is that I dont using this pin in hal. So I think all pins is disconncted.
Another problem is I dont see gmoccapy.toolchange-confirm pin.
Misterious are that I click to gmoccapy.toolchange-change pin in halshow. I see toolchange-change and toolchange-changed pin.
Problem is that I dont using this pin in hal. So I think all pins is disconncted.
Another problem is I dont see gmoccapy.toolchange-confirm pin.
Misterious are that I click to gmoccapy.toolchange-change pin in halshow. I see toolchange-change and toolchange-changed pin.
Attachments:
Please Log in or Create an account to join the conversation.
16 Mar 2023 13:29 - 16 Mar 2023 13:30 #266835
by HansU
If those pins are not connected, Gmoccapy won't pop up that dialog.
But that pin is not relevant here.
Replied by HansU on topic Disable manual tool change dialog
Sure? Also not in the postgui-halfile? They are connected there by default.Yes that was first that I check.
Problem is that I dont using this pin in hal. So I think all pins is disconncted.
If those pins are not connected, Gmoccapy won't pop up that dialog.
That's probably because I linked to the 2.9 documentation, sorry. 2.8 does not have that pin.Another problem is I dont see gmoccapy.toolchange-confirm pin.
But that pin is not relevant here.
Only a little uncertainty in halshow. It just does "halcmd show pin gmoccapy.toolchange-change" which lists you both pins.Misterious are that I click to gmoccapy.toolchange-change pin in halshow. I see toolchange-change and toolchange-changed pin.
Last edit: 16 Mar 2023 13:30 by HansU.
Please Log in or Create an account to join the conversation.
16 Mar 2023 16:10 #266842
by MichalHK
Replied by MichalHK on topic Disable manual tool change dialog
Yes I checked postgui-halfile list many times. Also check halshow and pins is not connected.
Then edit /usr/bin/gmoccapy line 4422.
There is definition def on_tool_change i simple rewrite it that only set self.halcomp["toolchange-changed"] = true
No show some dialog window atc... simple set variable to true.
Restart Lcnc and nothing happend. Dialog is still there. So I have no idea which code call it.
Then edit /usr/bin/gmoccapy line 4422.
There is definition def on_tool_change i simple rewrite it that only set self.halcomp["toolchange-changed"] = true
No show some dialog window atc... simple set variable to true.
Restart Lcnc and nothing happend. Dialog is still there. So I have no idea which code call it.
Please Log in or Create an account to join the conversation.
16 Mar 2023 17:12 #266847
by HansU
Replied by HansU on topic Disable manual tool change dialog
You can try the gmoccapy sim sample configuration.
This config should not show any tool change dialog because the corresponding lines are commented out: github.com/LinuxCNC/linuxcnc/blob/2.8/co...gmoccapy_postgui.hal
This config should not show any tool change dialog because the corresponding lines are commented out: github.com/LinuxCNC/linuxcnc/blob/2.8/co...gmoccapy_postgui.hal
Please Log in or Create an account to join the conversation.
Time to create page: 0.154 seconds