2011/4/30 Florian Rist <[email protected]>: > Dear Viesturs > > > 1) start with existing thc component and adjust it - add > > pyvcp/gladevcp panel with a spinbox or something similar to set the > > offset value. > > OK. So I could start with this simple example > > http://linuxcnc.org/docs/html/hal_pyvcp_examples.html > > and change teh signals the buttons connect to halui.jog.2.minus and > halui.jog.2.plus. What signal could I connect to to change Z position > while running a program?
No! What I mean is - start with THC component: http://www.linuxcnc.org/docview/html//man/man9/thc.9.html But - You need to modify it, because now the offset is calculated from the virtual encoder velocity, but You need to specify the offset value manually. IMHO best way to do it is with pyvcp. Viesturs ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
