On Jul 27 2015 10:35 AM, Brian wrote:
> On Mon, Jul 27, 2015 at 12:29 PM, John Kasunich 
> <jmkasun...@fastmail.fm>
> 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).
>>
>> I wonder if we could leverage the fact that the data only needs to 
>> be
> loaded once, and not randomly accessed.  Maybe something could pass 
> it at
> init, or something?

That is exactly where I was going with my follow on question.  I had 
assumed that loading the compensation curve is a once only operation.

   EBo --


------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to