Setting up Jog Buttons

More
23 Aug 2012 20:36 #23590 by cpy911
Hi,
I am setting up jog buttons similar to the example here: www.linuxcnc.org/docs/2.4/html/hal_pyvcp_examples.htm

when I launch EMC I get the following error:
Pin 'halui.jog.0.minus' does not exist

My custom_postgui.hal file looks like:
# connect the X pyVCP buttons
net my-jogxminus halui.jog.0.minus <= pyvcp.x-minus
net my-jogxplus halui.jog.0.plus <= pyvcp.x-plus

# connect the Y pyVCP buttons
net my-jogyminus halui.jog.1.minus <= pyvcp.y-minus
net my-jogyplus halui.jog.1.plus <= pyvcp.y-plus

# connect the Z pyVCP buttons
net my-jogzminus halui.jog.2.minus <= pyvcp.z-minus
net my-jogzplus halui.jog.2.plus <= pyvcp.z-plus

# connect the pyVCP jog speed slider
net my-jogspeed halui.jog-speed <= pyvcp.jog-speed-f

IF I comment out the lines above I am able to load EMC and see the panel with the buttons, of course they dont work when commented out but the program runs.

Can someone point me in the right direction?

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

More
23 Aug 2012 21:21 #23592 by BigJohnT
Replied by BigJohnT on topic Re:Setting up Jog Buttons
Did you load halui in your ini file?

linuxcnc.org/docs/html/config/ini_config...id_sub_hal_section_a

John

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

More
23 Aug 2012 22:55 #23600 by cpy911
Replied by cpy911 on topic Re:Setting up Jog Buttons
That was it....you are da man!
Sorry for my Newbieness!

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

More
23 Aug 2012 23:16 #23602 by BigJohnT
Replied by BigJohnT on topic Re:Setting up Jog Buttons
That's why I get paid the big bucks!

Your welcome

John

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

Time to create page: 0.061 seconds
Powered by Kunena Forum