Forgive me if I don't ask the question correctly.. but I'm still  
getting used to how the HAL/HALUI stuff works in EMC2.

I am using both a customized hal file for a gamepad pendant, and a  
PYVPC panel to customize some functions.  I'm running into a challenge:

Is there a way to string commands together in a sequence with each  
command waiting until the previous one completes, or a way to access  
the same "command" as a menu item?

I would like to add a button to my PYVPC panel to home all axes (I'd  
like to add it to my Pendant too) but when I put all 3 joint.x.home  
commands on one function it only executes the first one, and if I try  
to attach the same one to another button (for example: a button to  
home all, and then one for each axis) I get an error that it's already  
assigned when starting EMC2.

For Example:

net remote-home-all halui.joint.0.home halui.joint.1.home halui.joint. 
2.home <= pyvcp.home-all

This command only homes joint 0.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to