Glade Hal Meter Spindle Speed -> postgui
- DerKlotz
- Online
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 2
14 Oct 2025 15:30 - 14 Oct 2025 18:36 #336426
by DerKlotz
Glade Hal Meter Spindle Speed -> postgui was created by DerKlotz
Hello,
iḿ still a beginner with glade and today i wanted to add a Hal Meter in Glade that shows the spindle speed.
Things i did so far:
- I found out that i minimum require a float signal (maybe that on the picture attached?)
- i created a Hal Meter in Glade -> see attached file
I tried to add the call for gladevcp.Spindel in my machine.ini but didn't realize that Glade starts after the machine.ini
My next step was the postgui.hal
net Spindelrpm => gladevcp.Spindel <= spindle.0.speed-out
Error --> custom_postgui.hal:9: Pin 'spindle.0.speed-out' was already linked to signal 'spindle-vel-cmd-rpm'
Yesterday i learned that if a signal is linked i can´t use it.... but from here i don´t know further
Please help
iḿ still a beginner with glade and today i wanted to add a Hal Meter in Glade that shows the spindle speed.
Things i did so far:
- I found out that i minimum require a float signal (maybe that on the picture attached?)
- i created a Hal Meter in Glade -> see attached file
I tried to add the call for gladevcp.Spindel in my machine.ini but didn't realize that Glade starts after the machine.ini
My next step was the postgui.hal
net Spindelrpm => gladevcp.Spindel <= spindle.0.speed-out
Error --> custom_postgui.hal:9: Pin 'spindle.0.speed-out' was already linked to signal 'spindle-vel-cmd-rpm'
Yesterday i learned that if a signal is linked i can´t use it.... but from here i don´t know further
Please help
Last edit: 14 Oct 2025 18:36 by DerKlotz.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20754
- Thank you received: 7066
14 Oct 2025 16:09 #336427
by tommylight
Replied by tommylight on topic Glade Hal Meter Spindle Speed -> postgui
linuxcnc.org/docs/html/gui/gladevcp.html
You can assign names to signal pins and can use those names multiple times.
forum.linuxcnc.org/25-classicladder/5398...ignals-pins-together
You can assign names to signal pins and can use those names multiple times.
forum.linuxcnc.org/25-classicladder/5398...ignals-pins-together
Please Log in or Create an account to join the conversation.
- DerKlotz
- Online
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 2
14 Oct 2025 19:13 #336443
by DerKlotz
Replied by DerKlotz on topic Glade Hal Meter Spindle Speed -> postgui
Unfortunately, I'm still stuck, even with the additional link.
My thoughts:
Where can I get the spindle speed (float)? Would that be the value “spindle.0.speed-out,” for example, which can be seen in the attachment?
How do I transfer the float value to gladevcp.Spindel?
My favorite code doesn't work.Error "custom_postgui.hal:9: Pin 'spindle.0.speed-out' was already linked to signal 'spindle.0.speed-out'"
My thoughts:
Where can I get the spindle speed (float)? Would that be the value “spindle.0.speed-out,” for example, which can be seen in the attachment?
How do I transfer the float value to gladevcp.Spindel?
My favorite code doesn't work.
net Spindelrpm => gladevcp.Spindel <= spindle.0.speed-out
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4525
- Thank you received: 2014
15 Oct 2025 05:10 #336474
by Aciera
Replied by Aciera on topic Glade Hal Meter Spindle Speed -> postgui
try changing
to
net Spindelrpm => gladevcp.Spindel <= spindle.0.speed-out
to
net Spindelrpm => gladevcp.Spindel
Please Log in or Create an account to join the conversation.
- DerKlotz
- Online
- Junior Member
-
Less
More
- Posts: 32
- Thank you received: 2
15 Oct 2025 08:13 #336478
by DerKlotz
Replied by DerKlotz on topic Glade Hal Meter Spindle Speed -> postgui
net Spindelrpm => gladevcp.Spindel
Got that... i just created the signal.name Spindel.rpm which is linked to gladevcp.Spindel.
There is still my problem where to get the float.out(?) from and link it to Spindel.rpm. My "favorite" spindle.0.speed-out is already linked -> Error "custom_postgui.hal:9: Pin 'spindle.0.speed-out' was already linked to signal 'spindle.0.speed-out'"
Sorry... German beginner
Got that... i just created the signal.name Spindel.rpm which is linked to gladevcp.Spindel.
There is still my problem where to get the float.out(?) from and link it to Spindel.rpm. My "favorite" spindle.0.speed-out is already linked -> Error "custom_postgui.hal:9: Pin 'spindle.0.speed-out' was already linked to signal 'spindle.0.speed-out'"
Sorry... German beginner
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.094 seconds