[etherlab-users] ecrt_domain_register_pdo() / ethercat-1.3.2

Tom Schouten tom at zwizwa.be
Wed Nov 5 14:11:42 CET 2008


On Wed, Nov 05, 2008 at 10:54:33AM +0100, Florian Pose wrote:
> Hi Tom,
> 
> On Wed, Nov 05, 2008 at 10:28:32AM +0100, Tom Schouten wrote:
> > What is the proper way to obtain the data size (in nb of bits) of the object 
> > registered through ecrt_domain_register_pdo() ?
> 
> there is none. ;-)
> 
> You'll have to know the size anyway, if you want to process the Pdo
> entry in reasonable manner.
> 

Yes, but i'd like to pass the data to userspace for interpretation (making a 
dumb kernel module).  Is there a reliable way to get the data anyway, by 
reading the domain data structure directly for example?  I don't care if 
it's not portable since we're fixed at 1.3.2 now.




More information about the Etherlab-users mailing list