I'm not sure what version of linuxcnc you are using, nor if you are using pyVCP or gladeVCP.
If it's 2.5 + and gladeVCP: http://www.linuxcnc.org/docs/2.5/html/gui/gladevcp.html#_parameter_passing_with_action_mdi_and_toggleaction_mdi_widgets Is that what you want to do? Chris M > Date: Fri, 13 Sep 2013 00:18:13 -0400 > To: emc-users@lists.sourceforge.net > From: wctho...@chartertn.net > Subject: [Emc-users] Displaying a variable in the Axis Custom Panel > > I have completed the CNC conversion of my Monarch 10EE except for the > spindle speed control. For now I must set the spindle speed manually > with the speed knob. > Until I have figured out how to control the 10EE speed from > LinuxCNC I would like to have a message or notice to show up in my > Axis custompanel where I have the spindle speed readout and > the Spindle at speed Led. > I would like for it to say: > "set spindle speed to #71 RPM" . > But of course #71 is a variable and it is calculated in my > threading program based on the maximum Z axix velocity I want to > thread at and the pitch of the thread I am cutting. So it would > really say something like: > "Set Spindle Speed to 325 RPM" where 325 is the value of the > calculated variable. > I can't put it in a MSG because MSG won't accept variables. I > could put it in a PRINT statement but it would only show up in a > terminal window if I started LCNC from a terminal. Which will work > but is not very cool presentation-wise. > Is there a reasonably simple way to get a variable to display on the > Custompanel ?? > Thanks, > Cecil > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. Consolidate legacy IT systems to a single system of record for IT > 2. Standardize and globalize service processes across IT > 3. Implement zero-touch automation to replace manual, redundant tasks > http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users