- Posts: 60
- Thank you received: 0
Spindle Load feedback in Gmoccapy
- ChironFZ16
- Offline
- Senior Member
-
Less
More
3 years 7 months ago #266204
by ChironFZ16
Replied by ChironFZ16 on topic Spindle Load feedback in Gmoccapy
net bar_spindle_load spindle_load.bar_spindle_load should work
Attachment not found
Please Log in to join the conversation.
3 years 7 months ago #266206
by zz912
Replied by zz912 on topic Spindle Load feedback in Gmoccapy
Hi ChironFZ16,
I don't understand what you are trying to tell me with your post.
My problem is that the command:
EMBED_TAB_COMMAND = gladevcp -x {XID} spindle_load.glade -H connect-pin.hal
ignores the connect-pin.hal file.
What should happen if you change the name of the signal:
net bar_spindle_load spindle_load.bar_spindle_load
net signal-spindle-load spindle_load.bar_spindle_load
?
Have you tried this test forum.linuxcnc.org/gmoccapy/45856-spindl...capy?start=20#266183 ?
If you tried that test, did you see a signal bar_spindle_load or signal-spindle-load in halshow=>Signals?
It would help me if you did the test too so we know it's not my fault.
I don't understand what you are trying to tell me with your post.
My problem is that the command:
EMBED_TAB_COMMAND = gladevcp -x {XID} spindle_load.glade -H connect-pin.hal
ignores the connect-pin.hal file.
What should happen if you change the name of the signal:
net bar_spindle_load spindle_load.bar_spindle_load
net signal-spindle-load spindle_load.bar_spindle_load
?
Have you tried this test forum.linuxcnc.org/gmoccapy/45856-spindl...capy?start=20#266183 ?
If you tried that test, did you see a signal bar_spindle_load or signal-spindle-load in halshow=>Signals?
It would help me if you did the test too so we know it's not my fault.
Please Log in to join the conversation.
- ChironFZ16
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 0
3 years 7 months ago #266224
by ChironFZ16
Replied by ChironFZ16 on topic Spindle Load feedback in Gmoccapy
I have started a trial and it seems to work
Attachment not found
Please Log in to join the conversation.
3 years 7 months ago #266228
by zz912
Replied by zz912 on topic Spindle Load feedback in Gmoccapy
Show Signals please not Pins.
Please Log in to join the conversation.
- ChironFZ16
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 0
3 years 7 months ago #266259
by ChironFZ16
Replied by ChironFZ16 on topic Spindle Load feedback in Gmoccapy
So, the signal " signal-spindle-load" is not present here
Attachment not found
Please Log in to join the conversation.
3 years 7 months ago #266270
by zz912
Replied by zz912 on topic Spindle Load feedback in Gmoccapy
Should I make an Issue on Github?
Please Log in to join the conversation.
3 years 7 months ago #266305
by HansU
Replied by HansU on topic Spindle Load feedback in Gmoccapy
There are several sample configs which are showing how the -H option works.
I suggest you try those and compare them with your configuration.
For example:
I suggest you try those and compare them with your configuration.
For example:
Code:
configs/sim/gmoccapy/gmoccapy_left_panel.ini
18,1: EMBED_TAB_COMMAND = gladevcp -x {XID} -H v_buttonlist.hal v_buttonlist.glade
configs/sim/gmoccapy/gmoccapy_right_panel.ini
14,1: EMBED_TAB_COMMAND = gladevcp -x {XID} -H vcp_box.hal vcp_box.glade
configs/sim/gmoccapy/gmoccapy_with_user_tabs.ini
34,1: EMBED_TAB_COMMAND = gladevcp -x {XID} -H vcp_box.hal vcp_box.glade
Please Log in to join the conversation.
3 years 7 months ago #266306
by HansU
Replied by HansU on topic Spindle Load feedback in Gmoccapy
If that does not lead to success you are welcome to post your configuration.
Please Log in to join the conversation.
3 years 7 months ago #266309
by zz912
Replied by zz912 on topic Spindle Load feedback in Gmoccapy
I found problem:
This works:
This NOT works:
This works:
Code:
EMBED_TAB_COMMAND = gladevcp -x {XID} -H ./gladevcp.hal ./spindle_load.glade
This NOT works:
Code:
EMBED_TAB_COMMAND = gladevcp -x {XID} ./spindle_load.glade -H ./gladevcp.hal
Please Log in to join the conversation.
3 years 7 months ago #266311
by HansU
Replied by HansU on topic Spindle Load feedback in Gmoccapy
Sorry for the complications, I didn't know that the order there is important. But nice that it works now.
Please Log in to join the conversation.
Time to create page: 0.153 seconds
