Showing which axis is selected

More
03 Oct 2013 06:38 #39494 by Ivan_The_Red
All,

Im having trouble making the GUI show the selected axis after I select the axis using a hal command,
Ive read the manual but I cant seem to find the correct combination of "other commands"
that are required to get it to graphically show the selected axis...... any suggestions

Thanks

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

More
03 Oct 2013 09:52 #39498 by cmorley
What version of linuxcnc?
What GUI?
What HAL command?

Chris M

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

More
04 Oct 2013 00:01 #39507 by Ivan_The_Red
Im using version 2.5 along with the standard GUI, nothing custom.

The Hal command that I use to select the axis is:

halui.joint.<n>.select (where <n> is the numeric value corresponding to an axis )

Which works fine.

at that point , since the axis is selected I would expect to see the user interface reflect whats been selected, but
that doesn't change.

Im looking for a solution on how to make the "screen" reflective of whats been selected by the HAL command.

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

More
04 Oct 2013 02:37 - 04 Oct 2013 02:38 #39512 by BigJohnT
If your talking about the Axis UI it will not update from a halui command and in most cases will not update from a MDI command.

BTW, there are 4 "standard" UI's.

JT
Last edit: 04 Oct 2013 02:38 by BigJohnT.

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

More
04 Oct 2013 03:05 #39514 by Ivan_The_Red
Would it help if I took a screen shot of my GUI ?

How does it get updated ?

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

More
04 Oct 2013 13:19 #39526 by cmorley
You are in all likely hood using AXIS.
But it doesn't matter none of the GUIs will notice the axis selection from HALUI pins.
And none of them have their own pins to select the axis specifically, though a couple have pins for specific axis jogging.

What are you ultimately wanting to do?
trying to get away from using a keyboard?

When 2.6 is released there are a couple of GUIs that you can probably add this feature to. (their own selection pins)
even better chance if we look at it now to see if we can make it possible.

Chris M

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

More
04 Oct 2013 14:49 #39528 by cncbasher
Chris ,
i think the op is looking to reflect the situation of say selecting z axis and jog rate by external switches or button highlight , and reflecting this by highlighting what is now active in the display
although i see this as probably easier in gmocappy and gscreen than in axis .

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

More
04 Oct 2013 23:32 #39556 by Ivan_The_Red
Thats precisely what Im trying to do.....I wanted to display the selected axis on an lcd pendant

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

More
05 Oct 2013 00:01 #39557 by cncbasher
depending on the design of the penant either as a plugin handheld box via the usb etc , should be resonabley easy to do
what pendant or design are you looking at ? , ArcEYE'S arduino perhaps , or if one of the prebuilt ones this may be harder as you dont have access to the hardware ..

more information as to the pendant will help
although swiitching a few led's one with pins is of course possible

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

More
05 Oct 2013 05:58 #39564 by andypugh
Even Axis should not be impossible to tweak given that at the moment axis-selection is a keyboard or click choice. The only issue is that Axis is programmed in Norn (or some other inscrutable language) so very few folk are in a position to modify it.

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

Time to create page: 0.144 seconds
Powered by Kunena Forum