Recording min/max values from HAL
30 Mar 2016 21:05 #72419
by Sparky961
Recording min/max values from HAL was created by Sparky961
In order to see how things are working with a newly-tuned system, I'd like to keep track of the min and max error seen from various parameters (eg. following error). Think of it like high (and low) water marks. They would best be persistent, but I could live with them only being active within a session. I should also be able to reset when needed.
At some point in the future when I'm actually making chips with this, I can see this being a useful debugging tool when a part just isn't coming out like it should. At least it could rule out one potential source of error not otherwise easily seen. It will also give me an idea where I can safely set the limits for following error without them tripping at the most inopportune time.
Is there something like this that already exists? If not, could I get some hints on potential implementation?
At some point in the future when I'm actually making chips with this, I can see this being a useful debugging tool when a part just isn't coming out like it should. At least it could rule out one potential source of error not otherwise easily seen. It will also give me an idea where I can safely set the limits for following error without them tripping at the most inopportune time.
Is there something like this that already exists? If not, could I get some hints on potential implementation?
Please Log in or Create an account to join the conversation.
30 Mar 2016 22:19 #72422
by Sparky961
Replied by Sparky961 on topic Recording min/max values from HAL
Pretty sure I got it. I'm not all that surprised that it does, indeed, exist already as the "minmax" HAL component.
linuxcnc.org/docs/html/hal/components.html#_other
Although not yet tested, this thread gives enough to get me going with it.
linuxcnc.org/docs/html/hal/components.html#_other
Although not yet tested, this thread gives enough to get me going with it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.065 seconds