Cant get spindle RPM to display
- Sternfox
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 6
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
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18706
- Thank you received: 5163
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
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.
- Sternfox
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 6
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: KCJ, Lcvette
Time to create page: 0.083 seconds