Hi Stuart May I refer you to <http://wiki.tcl.tk/1304> - this is a wiki which documents various web-based tck/Tk tutorials :) It shouldn't be too hard to add a save/restore function - tcl uses strings for every variable and has pretty reasonable I/O functions for those strings. A bigger question is where the config should go. Halscope drops a .scope_cfg in any directory from which it was run (I'm not quite sure what it does when you run it from AXIS or what the "current directory" is when you run EMC from an icon/menu.) I don't know if you'd want halshow to do the same thing.
Another option would be to make a pyvcp panel and a hal file to load it and make the necessary connections. I don't think there's much that can be seen by halshow that can't be seen by pyvcp. Doing a vcp panel would also allow you to group things as you like, for instance encoder counts and limit switch inputs can be placed in a box for each axis/joint. - Steve Stuart Stevenson wrote: >Gentlemen, > I would like to be able to save a watch configuration. This would >allow me to restart the machine and recover the watch configuration >quickly and easily. >thanks >Stuart > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
