On Jul 27 2015 10:29 AM, John Kasunich wrote: > On Mon, Jul 27, 2015, at 12:25 PM, EBo wrote: > >> >> Doesn't HAL have a way to load drivers and other data? I have not >> mucked with things at this level for awhile. >> > > Loading the code of drivers (or any other realtime component), yes. > > Loading configuration specific data into a driver or other component, > not really. > > The normal way of passing configuration specific data to a component > is > arguments tacked onto the loadrt command. That works if all you are > trying > to do is tell the parport driver to use the port at 0x378, or tell > the step generator > to give you three velocity mode stepgens. It doesn't scale well to > larger amounts > of data (like a 256 point screw compensation curve).
Could it be set up to accept an argument "comp=/opt/LCNC/config/axis.comp" and let the driver handle the load as part of it's initialization? EBo -- ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers