Charles Steinkuehler wrote: > I'm wanting to create modular LinuxCNC configurations to allow for easy > modification by folks new to LinuxCNC. I can do fancy tricks with tcl > for HAL files, but that doesn't let me update anything in the [TRAJ] or > [AXIS <num>] *.ini file sections. > > So is there a way to do similar tricks with the actual *.ini file, or at > least an #INCLUDE directive or similar? If not, any suggestions on a > possible work-around, or does the *.ini file need to be one big chunk? > You can easily set up multiple hal files, I use that in my configs. (In fact, I have it split up into TOO many files.)
In the [HAL] section, just list as many hal files as you need, with HALFILE = xyz.hal Note that they are loaded in in the order listed, so that you have to be careful to have the loadrt line come before any commands that reference exported pins, and if you add input pins to existing signals, those would have to come later, too. Jon ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users