Anders, greetings ----- Original Message ----- From: "Anders Wallin" <[EMAIL PROTECTED]> Subject: [Emc-developers] Python <-> HAL interfacing > > Hi all, > > I've played around with some Python code to generate Tkinter widgets > that either control or indicate the status of a HAL pin:
I had two thoughts while awaiting 2007: (a) There are occasions when the UI benefits from being bi-directional. For example it is good to have a display of the spindle speed set be the most recent S word (say a slider, dial or whatever) *and* to be able to alter the demanded speed by moving the "slider". This can be done by MDI, of course, but with a touch screen, graphic controls help a lot - besides being easier for users with low G-code literacy. Bidirectional controls for feed rate, current tool, work offset cosys number could also be useful. This functionality could perhaps be implemented by a HAL internal "Block" type function, say called, recent_change. This would have two (or more) imput pins and its output would be the value of the most recently set input. A bidirectional widget would be interfaced to one of its inputs and its output. (b) It would a useful generality to be able to display (and as above set) parameters (including the proposed global named parameters?) via a vidget. It is not clear to me if the architecture layers would permit it, but I wonder if parameters could be mapped as HAL pins to unify the domain of all "values"? Ravings perhaps but you might see what I am interested in achieving :=) John Prentice ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers