oops Ignore my ramblings the current_vel is per second,so just multiply x 60
On 08/02/14 16:12, Mark Tucker wrote: > How do i display the current velocity or feedrate in my gui? > I have tried creating a label called dro_feedrate in the glade file then > putting the following in the handler file:- > > data = self.status.current.vel > text = "% 9.4f"% (data) > self.builder.get_object("dro_feedrate").set_text(text) > > But when running a program with a feed of f24 the label is showing 10.16. > I also tried self.status.feedrate but that just showed 1.0. > > > > > On 08/02/14 04:28, Chris Morley wrote: >>> Date: Fri, 7 Feb 2014 17:18:28 +0100 >>> From: nie...@web.de >>> To: emc-users@lists.sourceforge.net >>> Subject: Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre >>> >>> I can confirm the very hight CPU Usage of gscreen gaxis! I use an AMD >>> ATHLON X2-4800+ with 2 GB Ram, not optimized, so no isolcpus etc, >>> because I use this one as development PC. >>> >>> Gcsreen Gaxis uses 70 % of CPU 2 and 30 % of CPU 1. >> Gaxis with or without gremlin? >> Sounds like with. >> Do you use software opengl or hardware accelerated >> Sounds like software. >> >>> If I startAXIS; It uses aprox the samne amount of CPU Usage. >>> >> Yes most of that is the graphics plot >> >>> Original gmoccapy with gscreen background uses 99 % of CPU 1 and 35 % of >>> CPU 2. >>> >>> I am just making gmoccapy stand alone and I try to optimize as much as >>> possible. >>> I can't give values of the CPU usage yezt. >>> >>> Norbert >>> >>> >> Cutting the update rate of Gremlin helps a lot - I toyed with the idea of >> making it >> settable. >> The source_view widget uses a lot too. >> We could probably optimize the widgets to use hal_stat rather then their own. >> >> Chris M >> >> ------------------------------------------------------------------------------ >> 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