Cant get spindle RPM to display

More
03 Jun 2025 14:28 #329608 by Sternfox
Cant get spindle RPM to display was created by Sternfox
Hi guys, can't get spindle RPM to display, i have noticed a few different examples in the postgui.hal but non seem to work, i just get a -0 in my rpm display, I will attach my postgui.hal and my main.hal and a screenshot of halshow. Hopefully it's something very basic.thanks in advance

 

File Attachment:

File Name: main_2025-06-03.hal
File Size:12 KB
 

File Attachment:

File Name: probe_basi...tgui.hal
File Size:2 KB
 
Attachments:

Please Log in or Create an account to join the conversation.

More
03 Jun 2025 15:03 #329609 by PCW
Replied by PCW on topic Cant get spindle RPM to display
One way:

in the main hal file add:


net spindle-vel-rpm hm2_[MESA](BOARD).0.encoder.00.velocity-rpm


in the gui hal file delete:

net spindle.0.revs  => qtpyvcp.spindle-encoder-rpm.in

and add:

net spindle-vel-rpm  => qtpyvcp.spindle-encoder-rpm.in
The following user(s) said Thank You: Lcvette, besriworld, Sternfox

Please Log in or Create an account to join the conversation.

More
03 Jun 2025 17:17 #329620 by Sternfox
Replied by Sternfox on topic Cant get spindle RPM to display
amazing it works thank you, just need to change it so its not a minus sign before the reading

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.083 seconds
Powered by Kunena Forum