For consideration: http://www.panix.com/~dgarrett/stuff/names_in_halfiles.patch
The link is to a patch that modifies halfiles (used in sim) to use loadrt with the names= option instead of count= (or with no option) I offer in the following spirit: 1) Many users (especially new users) learn by examples and are not aware of the names= option 2) using the names= option increases readability of the hal files by showing some intent with mnemonic names 3) the changes are transparent with respect to existing configurations (at least that is the intention) 4) using the names= option facilitates the use of the the little-known TWOPASS capability: http://linuxcnc.org/docs/html/common/starting-emc.html#_twopass that allows users to add (remove/change) instances of existing components by adding new loadrt lines. It is often helpful in making modular hal files with less interdependence. I realize this may be too big a change for a pending update but I hope it can be considered for the 2.5.x branch at some point. I have tried runtests successfully (lucid,rtai): Runtest: 83 tests run, 83 successful, 0 failed + 0 expected And I have tried to test the configurations in the sim directory that use the affected halfiles. -- Dewey Garrett ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers