I thought that you were trying to make the pyvcp meter change scales. My idea (and this still might be useful to you) was to have a tab for each of your gear settings. In each tab you would have an RPM meter for the spindle that was scaled with the appropriate warning zones, LEDs... for that gear. The main drawback I see to this set up is that it would not be automatic with your gear change, you'd still have to select the tab, when you select your gear. But is that really that big of a deal on a manual gear changing home hobby machine?
----- Original Message ----- From: "Gene Heskett" <[email protected]> To: [email protected] Sent: Thursday, February 16, 2017 1:34:10 AM Subject: Re: [Emc-users] No gladevcp on a pi, no glade-gtk2 in the repo's, whats next? On Thursday 16 February 2017 00:54:30 Todd Zuercher wrote: > You seem to have quickly dismissed my idea of using tabs in the pyvcp > window. I had set up configs that used a pyvcp panel that had a > series of buttons for incrementally jogging the machine coordinates. > There were 4 tabs, one for jogging inches, tenths, hundredths, and > thousandths. On each tab was an identical grid of jogging buttons and > a label for the increment. It worked well and looked good. The main > downside was it used 32 halui mdi pins for 8 buttons. sceenshot. > https://forum.linuxcnc.org/media/kunena/attachments/3190/error2.png > > Looks pretty good Todd, but thats not what I want to do. I want it to tell me when PI need to stop and change the belt to a different "gear". This can be done with some hal modules and 3 pyvcp leds. The led's are already on the gui, and I'm waiting for mpja.com to send me some belt position sensors in the form of a 4 channel ir obstacle detector. Friday maybe. Depending on how they work, I'll get another and put it on the backgear lever so LCNC will then know exactly what gear its in. If I ask for 1000 revs, it can't do that in backgear out, 1st gear on the belt as I have the vfd set for 150 Hz tops=800 revs. So I want it to tell me it needs a higher gear. There comes a point where I'd need a 5 horse motor, but them puppies be heavily gold plated whereas I have $25 each in the pair of 1 hp's I got from a local scrap dealer. I took a 3/4 single phase off it that weighs what these 2 do together. > ----- Original Message ----- > From: "Gene Heskett" <[email protected]> > To: [email protected] > Sent: Wednesday, February 15, 2017 9:38:15 PM > Subject: [Emc-users] No gladevcp on a pi, no glade-gtk2 in the > repo's, whats next? > > Greetings guys; > > I just spent an hour, both on this machine, and on the pi, trying to > make the one example gvcp-panel.test.ui we have, run. I can get a tiny > led out of it on this wheezy machine, but Glade 3+ on the pi knows > nothing of the widget creation commands in that file. <hbox>, > HAL_LED, 95% of the file is an error report. > > So it looks like gtk2+ is officially shitcanned. > > Except all the /usr/lib/python2.7/gladevcp stuff is there on the pi, I > think: > ls = > calculator.glade gladebuilder.pyc hal_filechooser.py > hal_lightbutton.py hal_pythonplugin.py __init__.py > offsetpage.glade persistence.pyc > calculatorwidget.py gladevcp-test.glade hal_filechooser.pyc > hal_lightbutton.pyc hal_pythonplugin.pyc __init__.pyc > offsetpage_widget.py speedcontrol.py > calculatorwidget.pyc hal_actions.py hal_graph.py > hal_mdihistory.py hal_sourceview.py jogwheel.py > offsetpage_widget.pyc speedcontrol.pyc > combi_dro.py hal_actions.pyc hal_graph.pyc > hal_mdihistory.pyc hal_sourceview.pyc jogwheel.pyc > offsetwidget.py tooledit_gtk.glade > combi_dro.pyc hal_bar.py hal_gremlin_plus.py > hal_meter.py hal_widgets.py led.py > offsetwidget.pyc tooledit_widget.py > drowidget.py hal_bar.pyc hal_gremlin_plus.pyc > hal_meter.pyc hal_widgets.pyc led.pyc > overridewidget.py tooledit_widget.pyc > drowidget.pyc hal_dial.py hal_gremlin.py > hal_pyngcgui.py iconview.py makepins.py > overridewidget.pyc xembed.py > gladebuilder.py hal_dial.pyc hal_gremlin.pyc > hal_pyngcgui.pyc iconview.pyc makepins.pyc > persistence.py xembed.pyc > > I did find a 3 yo msg with google that recommended setting up env vars > with export for where it was, found the python-2.7 versions and > exported that path, but if it helped I didn't/couldn't tell. > glade-3.18.xx apparently can't use it. > > What do we do next? pyvcp I am told cannot do what I want. > > Cheers, Gene Heskett Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
