Ok. Please post your files and i will look at after work. Chris M ----- Reply message ----- From: "Mark Tucker" <m...@rmtucker.f2s.com> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre Date: Fri, Feb 7, 2014 9:27 AM
Chris I added the emc_stat widget as requested.It put it in objects and shows up as hal-stat the power button is still grayed out.? On 07/02/14 16:40, Chris Morley wrote: > Please add the emc_stat widget > > ----- Reply message ----- > From: "Mark Tucker" <m...@rmtucker.f2s.com> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre > Date: Fri, Feb 7, 2014 8:28 AM > > > Chris > > There is no emc_stat widget present and no mention of power on in the > handler file. > It seems to be purely using the power and estop widgets. > But the estop widget is useless because we have bypassed it in the hal > file as stated. > >>> Chris >>> >>> I don't recall any emc_stat widget in the tutorial but i may be wrong. >>> I will load up the glade file on my developer os and check >>> >>> Yes i did try the Gaxis no live plot but i had lots of errors etc and >>> thought i would write my own. >>> Big mistake!!! >>> 1 week later and a lot less hair,and i am just scratching the surface. >>> >>> On 07/02/14 15:38, Chris Morley wrote: >>>> Do you have an emc_stat widget in the glade file? >>>> When you say gscreen uses 90% cpu, which skin if gscreen? Gaxis no-gui >>>> should be the least cpu hungry. Gaxis second least. >>>> >>>> Chris M >>>> >>>> ----- Reply message ----- >>>> From: "Mark Tucker" <m...@rmtucker.f2s.com> >>>> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> >>>> Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre >>>> Date: Fri, Feb 7, 2014 6:01 AM >>>> >>>> >>>> Andy >>>> >>>> I had already changed the comment to your version but i still have the >>>> same results. >>>> Everything works fine with axis and Gscreen but it will not work with my >>>> custom Gui. >>>> At the end of the day it must be something in the Gui. >>>> I just followed JT's tutorials and it worked fine until i try to put it >>>> in a real setup. >>>> >>>> All i wish to do at the end of the day is write a simple Gui for >>>> machinekit that shows the needed info for running a cnc,but without the >>>> cpu usage that Gscreen etc uses. >>>> >>>> The simpler standard Gui examples like Mini etc do not even show the >>>> current feedrate etc. >>>> >>>> I thought it might be easier to write my own but unfortunately there >>>> seems to be a total lack of current up to date info on this >>>> process,other than johns tutorials. >>>> >>>> As an example when using Gscreen/Machinekit cpu usage is about 90% when >>>> idle??? >>>> When using mini etc it is around 14%. >>>> >>>> >>>> >>>> On 07/02/14 13:23, andy pugh wrote: >>>>> On 7 February 2014 11:16, Mark Tucker <m...@rmtucker.f2s.com> wrote: >>>>> >>>>>> I now have the following lines in my Hal file:- >>>>>> >>>>>> newsig test bit >>>>>> sets test 1 >>>>>> net test iocontrol.0.emc-enable-in >>>>>> >>>>>> Is this not enough to enable the power button >>>>> It should work. >>>>> setp iocontrol.0.emc-enable-in 1 >>>>> would be shorter. >>>>> >>>> ------------------------------------------------------------------------------ >>>> Managing the Performance of Cloud-Based Applications >>>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >>>> Read the Whitepaper. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Emc-users mailing list >>>> Emc-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> ------------------------------------------------------------------------------ >>>> Managing the Performance of Cloud-Based Applications >>>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >>>> Read the Whitepaper. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Emc-users mailing list >>>> Emc-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >>>> >>> ------------------------------------------------------------------------------ >>> Managing the Performance of Cloud-Based Applications >>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >>> Read the Whitepaper. >>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> ------------------------------------------------------------------------------ >> Managing the Performance of Cloud-Based Applications >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> Read the Whitepaper. >> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> >> > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users