> > Python doesn't have a direct interface to halcmd. Use > commands.getoutput to execute halcmd and retrieve the output. > > >>> import commands > >>> float(commands.getoutput("halcmd getp motion.spindle-speed-out")) > 1000.0 > > Jeff >
Maybe we could add this to the advanced section of the integrator's manual? Chris M _________________________________________________________________ Attention all humans. We are your photos. Free us. http://go.microsoft.com/?linkid=9666047 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users