(Solved?) Feed override encoder reset

More
4 years 3 months ago #247270 by tightmopedman9
Thanks for the advice, but I added the exported hal line into my custom_config.yml before implementing this code. As I said in my last post, I can see that the pins exist when I open halmeter/halshow.
 

Is there any possibility that my custom_postgui.hal is getting loaded before the pins are created? I can see the probe basic header bar pop up for just a second before closing and displaying the error. I attached the full text of the error in a text attachment to this post. 

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

More
4 years 3 months ago - 4 years 3 months ago #247271 by spumco
Replied by spumco on topic Feed override encoder reset
Sorry, completely overlooked the part where indicated you'd done the .yml and could see them in halshow.

That's a new one on me.  The only thing I can think of - besides the file load timing as you pointed out - is a pin name spelling error.  But those look good to me, too.

Probably want to move this to qtpyvcp forum and see if the devs have some thoughts on it.

EDIT - just noticed something.  Your feed override IS loading, but the speed override isn't.  Try changing the pin name to: qtpyvcp.spindle-override.reset and see if that helps.

 
Last edit: 4 years 3 months ago by spumco. Reason: Ah-HA!

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

More
4 years 3 months ago #247272 by tightmopedman9
Amazing! Great catch! I feel like an idiot for not seeing that myself. Thanks for the help.

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

More
4 years 3 months ago #247274 by spumco
Replied by spumco on topic Feed override encoder reset
Yea, that sort of thing has NEVER happend to me or anyone else...image missing /media/kunena/emoticons/unsure.png

Pay it forward next time you see someone struggling.  Remember, it's us against Linux.
The following user(s) said Thank You: tommylight

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

More
4 years 2 months ago #249256 by pippin88

Yes, I had the same thought this morning t and I've just added the following reset pins
halui.feed-override.reset
halui.rapid-overide.reset
haui.spindle.n.override.reset

Initial testing seems ok, but I'll wait until I've tested it properly at the weekend before raising a pull request

One thing I did notice some strange behaviour but it's the same with the GUI slider - its hard to get the value to go past 112% - I suspect its an artefact of the conversion from int to float.

Russell - can you share the code for this?

I need this function (I have MPG, hardware feed buttons, and the GUI feed slider).

It should be incorporated into halui.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum