- Posts: 64
- Thank you received: 0
Gmoccapy tool setter install "errors"
1 year 3 weeks ago #336169
by Fastfred
Gmoccapy tool setter install "errors" was created by Fastfred
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 ?
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
1 year 3 weeks ago #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 to join the conversation.
1 year 2 weeks ago #336213
by Fastfred
Replied by Fastfred on topic Gmoccapy tool setter install "errors"
Made the change net tool-change-request iocontrol.0.tool-change.
Please Log in to join the conversation.
1 year 2 weeks ago #336220
by Fastfred
Replied by Fastfred 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 to join the conversation.
1 year 2 weeks ago #336244
by Fastfred
Replied by Fastfred 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 to join the conversation.
1 year 2 weeks ago #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
Code:
...
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 to join the conversation.
1 year 2 weeks ago #336294
by Fastfred
Replied by Fastfred 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 to join the conversation.
1 year 2 weeks ago #336299
by Fastfred
Replied by Fastfred 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)
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
1 year 2 weeks ago #336300
by Fastfred
Replied by Fastfred 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 to join the conversation.
1 year 2 weeks ago #336307
by Fastfred
Replied by Fastfred 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 to join the conversation.
Time to create page: 0.104 seconds
