Gmoccapy tool setter install "errors"
- Fred G
- Away
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
09 Oct 2025 18:27 #336169
by Fred G
Gmoccapy tool setter install "errors" was created by Fred G
Hi need some advice I tried to do this much as possible on my own but ran into a error not sure whats the best way to get around it.Looks like i have two pins for tool change ?
Attachments:
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4685
- Thank you received: 1432
09 Oct 2025 18:50 #336170
by Todd Zuercher
Replied by Todd Zuercher on topic Gmoccapy tool setter install "errors"
The problem is that you can not reuse a hal pin anywhere in that hal file or another hal file. However you can connect multiple hal input pins to a hal signal name (but only one hal output pin).
Not seeing what you have going on in your other hal files I think this might get you going change this line in your post gui hal file from:
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
to:
net tool-change-request iocontrol.0.tool-change
That may still not get your config working, if you have other similar mistakes in your postgui hal file. But it will get you on to the next one.
Not seeing what you have going on in your other hal files I think this might get you going change this line in your post gui hal file from:
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
to:
net tool-change-request iocontrol.0.tool-change
That may still not get your config working, if you have other similar mistakes in your postgui hal file. But it will get you on to the next one.
Please Log in or Create an account to join the conversation.
- Fred G
- Away
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
10 Oct 2025 19:26 #336213
by Fred G
Replied by Fred G on topic Gmoccapy tool setter install "errors"
Made the change net tool-change-request iocontrol.0.tool-change.
Please Log in or Create an account to join the conversation.
- Fred G
- Away
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
10 Oct 2025 20:01 #336220
by Fred G
Replied by Fred G on topic Gmoccapy tool setter install "errors"
[Gmoccapy.GMOCCAPY.GETINIINFO][[33mWARNING[0m] No DEFAULT_SPINDLE_SPEED entry found in [DISPLAY] of INI file (getiniinfo.py:282)
[Gmoccapy][[33mWARNING[0m] No virtual keyboard installed, we checked for <onboard>. Try 'sudo apt-get install onboard'. (gmoccapy:2112)
gmoccapy_postgui.hal:24: Pin 'gmoccapy.toolchange-change' was already linked to signal 'tool-change-request'
10530
[Gmoccapy][[33mWARNING[0m] No virtual keyboard installed, we checked for <onboard>. Try 'sudo apt-get install onboard'. (gmoccapy:2112)
gmoccapy_postgui.hal:24: Pin 'gmoccapy.toolchange-change' was already linked to signal 'tool-change-request'
10530
Please Log in or Create an account to join the conversation.
- Fred G
- Away
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
10 Oct 2025 22:27 #336244
by Fred G
Replied by Fred G on topic Gmoccapy tool setter install "errors"
This is after making a few changes trying to figure it out?
any help would be helpful
(gmoccapy:3126): Gtk-CRITICAL **: 15:22:03.887: gtk_entry_set_text: assertion 'text != NULL' failed
[Gmoccapy.GMOCCAPY.GETINIINFO][[33mWARNING[0m] Found kinstype=BOTH but using trivkins. It is not recommended to do so! Will use mode to switch between Joints and World mode, hopefully supported by the used <<trivkins>> module. (getiniinfo.py:182)
15:22:05.211 WARNING Config: mousetweaks GSettings schema not found, mousetweaks integration disabled.
gmoccapy_postgui.hal:24: Pin 'gmoccapy.toolchange-change' was already linked to signal 'tool-change-request'
/usr/lib/python3/dist-packages/gi/overrides/GObject.py:493: Warning: ../../../gobject/gsignal.c:2772: instance '0x15975de0' has no handler with id '33554454'
return func(*args, **kwargs)
3075
any help would be helpful
(gmoccapy:3126): Gtk-CRITICAL **: 15:22:03.887: gtk_entry_set_text: assertion 'text != NULL' failed
[Gmoccapy.GMOCCAPY.GETINIINFO][[33mWARNING[0m] Found kinstype=BOTH but using trivkins. It is not recommended to do so! Will use mode to switch between Joints and World mode, hopefully supported by the used <<trivkins>> module. (getiniinfo.py:182)
15:22:05.211 WARNING Config: mousetweaks GSettings schema not found, mousetweaks integration disabled.
gmoccapy_postgui.hal:24: Pin 'gmoccapy.toolchange-change' was already linked to signal 'tool-change-request'
/usr/lib/python3/dist-packages/gi/overrides/GObject.py:493: Warning: ../../../gobject/gsignal.c:2772: instance '0x15975de0' has no handler with id '33554454'
return func(*args, **kwargs)
3075
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4523
- Thank you received: 2014
11 Oct 2025 10:03 #336272
by Aciera
Replied by Aciera on topic Gmoccapy tool setter install "errors"
This is from your 'gmoccapy_postgui.hal':
As has already been stated, you cannot reuse the same halpins use the signals they were assigned to.
Maybe this helps to explain some of the basics:
linuxcnc.org/docs/html/hal/intro.html
...
net tool-change-request => gmoccapy.toolchange-change
net tool-change-confirmed <= gmoccapy.toolchange-changed
net tool-number => gmoccapy.toolchange-number
.
.
.
net tool-change gmoccapy.toolchange-change <= iocontrol.0.tool-change
net tool-changed gmoccapy.toolchange-changed => iocontrol.0.tool-changed
net tool-prep-number gmoccapy.toolchange-number <= iocontrol.0.tool-prep-number
...
As has already been stated, you cannot reuse the same halpins use the signals they were assigned to.
Maybe this helps to explain some of the basics:
linuxcnc.org/docs/html/hal/intro.html
Please Log in or Create an account to join the conversation.
- Fred G
- Away
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
11 Oct 2025 20:07 #336294
by Fred G
Replied by Fred G on topic Gmoccapy tool setter install "errors"
Ok I got it , Guess I didn't pay attention just copied and paste Gmoccapy config to get it working not reading if I needed everything.
Please Log in or Create an account to join the conversation.
- Fred G
- Away
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
11 Oct 2025 22:46 #336299
by Fred G
Replied by Fred G on topic Gmoccapy tool setter install "errors"
Not Getting errors on start up, but a pop up saying file ended with no percent sign (%) or program end (M2)
Attachments:
Please Log in or Create an account to join the conversation.
- Fred G
- Away
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
11 Oct 2025 22:49 #336300
by Fred G
Replied by Fred G on topic Gmoccapy tool setter install "errors"
Forgot to say I got the error after asking for tool change in the GUI.
Please Log in or Create an account to join the conversation.
- Fred G
- Away
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
12 Oct 2025 03:00 #336307
by Fred G
Replied by Fred G on topic Gmoccapy tool setter install "errors"
I was able to figure out the end of line issue , but now not getting any movement after asking for tool change or pop up window?
Please Log in or Create an account to join the conversation.
Time to create page: 0.154 seconds