On 11/25/13 10:02 , Charles Steinkuehler wrote: > $ halcmd setp motion.analog-out-00 32 > <commandline>:0: pin 'motion.analog-out-00' is not writable > > So how can I update these values manually if a program is running?
The motion(9) manpages says that those are output pins from motion, set by M67/M68, that you should net in HAL to your analog output device. I think the only way to change the value on those motion.analog-out-* pins is to run M67/M68. I think you could do this: * net the motion.analog-output pins in to a mux * have another input to the mux be unconnected * connect the output of the mux to your analog output device in HAL * set the control on the mux to normally follow the value from motion * if you want to monkey with the value manually, flip the mux control to follow the "free" input, and setp the free input pins to your temporary experimental value You could put all this in a nice PyVCP panel with radio buttons for selecting "programmed" or "manual" temperatures, and sliders for manual temperature settings. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
