[Yes. YES.] Is there a way to display the current UCS [G5n setting] in AXIS?
clunc wrote: Qtvcp? different than PyVCP? than GladeVCP?
I sense a pattern, but can't put my finger on it, because I don't recognize Qt and Glade as programming languages. Are they?
Display Toolkits is a good description. Qtvcp uses python/Qt,, pyvcp uses python and tkinter and gladevcp uses python/gtk2 with the GLADE editor.
vcp is virtual control panel.
Chrsi
Please Log in or Create an account to join the conversation.
linuxcnc.org/docs/2.7/html/config/python...ding_linuxcnc_status
specifically the attribute: g5x_index
You then use gladevcp's handler file option to poll the linuxcnc python module to get the UCS and display it with a gladevcp widget.
Gstat does the same thing in possibly a neater fashion but is not available (for that attribute) in 2.7
Please Log in or Create an account to join the conversation.
W = root_window.tk.call
W('label','.pane.top.tabs.fmanual.jogf.zerohome.ucs','-text','G5x')
W('grid','.pane.top.tabs.fmanual.jogf.zerohome.ucs','-column','0','-row','2','-sticky','w')
def user_live_update():
W('.pane.top.tabs.fmanual.jogf.zerohome.ucs','configure','-text','UCS: ' + all_systems[o.last_g5x_index].split()[1])
Please Log in or Create an account to join the conversation.

Please Log in or Create an account to join the conversation.
I couldn't see it at first, because I was looking for it in the "graphic" model-Preview window, but lo, there it is! nestled under the "Home All" button. Byoo tee full. [See attachment. Shameless plug of one of my cool topo maps.]
Thank you Phil.
(Persons-in-charge, Chris?, LinuxCNC really ought to come with this improvement as the default.)
Happy Easter all! (I know I'm happy.)
(My gut told me it just had to be trivial, and after my gut scoured Phil's codette, it freely admits it was stark-raving wrong. Trivial never looked sooo comblicated.)
Please Log in or Create an account to join the conversation.
W('label','.pane.top.tabs.fmanual.jogf.zerohome.ucs','-text','G5x')
W('label','.pane.top.tabs.fmanual.jogf.zerohome.ucs')
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
W('.pane.top.tabs.fmanual.jogf.zerohome.ucs','configure','-text','UCS: ' + all_systems[o.last_g5x_index].split()[1])
W('.pane.top.tabs.fmanual.jogf.zerohome.ucs','configure','-text','UCS: ' + all_systems[o.last_g5x_index-1].split()[1])
and it is displaying the active UCS now.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thank you. Wonder where all_systems[o.last_g5x_index].split()[1]) comes from? I mean can't find that in docs.
Or maybe would you be so kind help me to print spindle speed in same style?
Please Log in or Create an account to join the conversation.