Re: [etherlab-users] How to perform DC time synchronisation the right way?

2018-05-16 Thread Michael Ruder
Hi Graeme, hi Gavin, wow, thanks for the great, detailed and quick replies! This was extraordinarily helpful! I like Graemes suggestion for the cycle very much. I can cope with the delayed PDO sending much better than I could cope with a fixed, rather long wait in my cycle. I modified my

Re: [etherlab-users] How to perform DC time synchronisation the right way?

2018-05-15 Thread Graeme Foot
Hi, Firstly, there is no way of checking if the frame transfer is complete. One comment, to reduce the jitter and offset of the master application time, place the clock_gettime(), ecrt_master_application_time(), ecrt_master_sync_reference_clock(), ecrt_master_sync_slave_clocks() calls

Re: [etherlab-users] How to perform DC time synchronisation the right way?

2018-05-15 Thread Gavin Lambert
On 16 May 2018 4:34 a.m., quoth Michael Ruder: > Now I want to have the slaves also synchronized to this time frame and have > the following dilemma: > > - normally, I would like to call > > // cycle begins > > ecrt_master_receive(master); > ecrt_domain_process(domain1); > > // do a lot of