This might not be a great solution, but is one I used once for a somewhat similar problem. PVCP panels have the ability to have tabs within them. So if you want 4 different meter scales, set up 4 different meters each on it's own tab. It makes the XML file a bit of a large piece of ugly code, but It should at least work.
----- Original Message ----- From: "Gene Heskett" <[email protected]> To: "Enhanced Machine Controller (EMC)" <[email protected]> Sent: Thursday, February 9, 2017 12:56:06 PM Subject: [Emc-users] Changing the full scale range the pyvcp tach displays Greetings everybody, from the fringe of the snowstorm in the upper right coast; One of the things I would like to do is to change the full scale range of the pyvcp tachometer, which is set in the panel-pyvcp.xml file at present. I can of course edit that and restart LCNC, but until such time as I get some sort of a photocel/ir-led setup to determine the belt position, I'd like to setup a pair of gui buttons to change that full scale range. That looks like an 8 step up-down button pair for control. Its not a problem to edit up 8 copies of the xml, or perhaps just 8 versions of the text changes needed. But how do I get pyvcp to re-execute and redraw the tach with the changed values? What do you folks recommend? The missus was walking, slowly and tenderly with a walker last night, so she will be ok in due time. 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
