Spindle Load feedback in Gmoccapy

More
3 years 7 months ago #266204 by ChironFZ16
net bar_spindle_load spindle_load.bar_spindle_load should work

 

Attachment not found

Please Log in to join the conversation.

More
3 years 7 months ago #266206 by zz912
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.

Please Log in to join the conversation.

More
3 years 7 months ago #266224 by ChironFZ16
I have started a trial and it seems to work

 

Attachment not found

Please Log in to join the conversation.

More
3 years 7 months ago #266228 by zz912
Show Signals please not Pins.

Please Log in to join the conversation.

More
3 years 7 months ago #266259 by ChironFZ16
So, the signal " signal-spindle-load" is not present here

 

Attachment not found

Please Log in to join the conversation.

More
3 years 7 months ago #266270 by zz912
Should I make an Issue on Github?

Please Log in to join the conversation.

More
3 years 7 months ago #266305 by HansU
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:
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.

More
3 years 7 months ago #266306 by HansU
If that does not lead to success you are welcome to post your configuration.

Please Log in to join the conversation.

More
3 years 7 months ago #266309 by zz912
I found problem:

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.

More
3 years 7 months ago #266311 by HansU
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
Powered by Kunena Forum