I'm not aware of any way of interfacing to hal via a shell script, but you can do it in python....
http://www.linuxcnc.org/docs/2.3/html/hal_halmodule.html It's not python itself that provides the interface, but the "hal" and "emc" python interface modules that allow you to do it. > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Tuesday, 13 October 2009 10:16 PM > To: emc-users emc-users > Subject: Re: [Emc-users] halui commands in M100 while program > is running > > Hi guys, > thank you for your answers. > I've already tried to use the MDI_COMMAND in the ini file to > launch the M100 bash script but since I'm performing a homing > I got an error: I cannot do homing in MDI mode. > Now, since I can launch correctly my M100 program from > terminal (./M100) , I would like to know how to link a pin > with a bash script. Can I do somethik like this? > net ./basch_script_file <= parport.0.pin..... ??? > > Thank you > Luigi > > -------------------------------------------------------------- > ---------------- > Come build with us! The BlackBerry(R) Developer Conference in > SF, CA is the only developer event you need to attend this > year. Jumpstart your developing skills, take BlackBerry > mobile applications to market and stay ahead of the curve. > Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
