On 16 March 2014 08:33, Michael Haberler <[email protected]> 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. 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
