[etherlab-users] ec_master_simple_io() implementation

Anthony Sharobaiko anthony at fiord.com
Tue Jun 3 09:12:14 CEST 2008


Hi!

How could I implement ec_master_simple_io() in the recent ethercat master?
Would it be enough to simply wrap EC_(READ|WRITE) in master_receive(), process(),
run() & send()?

Old implementation (http://www.etherlab.org/download/ethercat-stable-1.0-r492-htmldoc/master_8c-source.html#l01338) seems to be too low-level.

I need to access master from userspace, so I was thinking of a good way to do
that. For now I've decided to use comedi wrapper and fall back to simple i/o
(to abide by comedi interface).

Have anyone done any userspace interfacing? I would appreciate any hint on how
to do it in a least tiresome way.


-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20080603/4bfddea2/attachment-0002.sig>


More information about the Etherlab-users mailing list