> Am 16.03.2014 um 14:06 schrieb andy pugh <bodge...@gmail.com>: > >> On 16 March 2014 08:33, Michael Haberler <mai...@mah.priv.at> wrote: >> make me understand what's difficult? > > PyVCP and Glade create input or output pins. You can only net IO pins > to other IO pins, unless you use the tristate_bit or tristate_float > component, and then you need to correctly twiddle the latch. There is > no tristate_u32 or tristate_s32. > well in that case a HAL widget like a scale.with an IO pin is the way to go
lib/python/hal_widgets,py and hal_glib.py would be the place start > The Calibration widget (src/tcl/bin/emccalib.tcl) works entirely by > reading values from the _INI_ file, then uses "hal setp" to set the > working values. I think it would work equally well with input pins. > > As far as I can see the change to IO pins made it rather difficult to > drive PID from a GUI. > > Note that it is still entirely possible to read the value of an "IN" > pin with "getp" so a Gui can populate itself with embedded code at > setup time, if necessary. It isn't like having the pins as IO means > that any GUI elements can automatically initialise themselves to the > right value from whatever value the pin has when the GUI is > initialised. > > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers