- Posts: 236
- Thank you received: 31
Please Log in or Create an account to join the conversation.
cmorley wrote: Here is working sample code of a python component for metric (G20/21) status
The python component info is somewhat explained here:
www.linuxcnc.org/docs/2.7/html/hal/halmodule.html
name it metric_status , add it into an appropriate folder ($PATH in a terminal should show you)
and make it executable
One caveat, displayed Gode in a running linuxcnc program, can be wrong because of read ahead.
This one is fairly safe as not too many people change the units mid program.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Askjerry wrote: Ultimately, it would be nice if this were a signal standard in HAL.
I was hoping there would have been something like halui.units.mm and/or halui.units.inch that I could look for and react to.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.