Re: [etherlab-users] write_sdo() function

2015-07-27 Thread Gavin Lambert
It's not that easy - even the read in the example is oversimplified (it assumes you always want to read), and reads are quite different from writes. I'm not sure where you got ec_sdo_request_copy_data from, but the correct way to access the data memory of a request is with ecrt_sdo_request_data

[etherlab-users] write_sdo() function

2015-07-27 Thread HASSAN ZAHRAEE Ali
Hi all, I am trying to write a simplified ethercat communication module on top of Igh master for some of my colleagues who do not want to know the details of how the master works. Based on the sdo_read() function in the examples provided with the master, I have written the following write_sdo()