[etherlab-users] Where, in the application cycle, should I call ecrt_master_64bit_reference_clock_time/queue?

2018-10-25 Thread Mohsen Alizadeh Noghani
Hello everyone. I would like to know where should I call *ecrt_master_64bit_reference_clock_time_queue() * and *ecrt_master_64bit_reference_clock_time() * 1- with respect to each other (does it matter which one is called first?) 2- with respect the distributed clock function calls? i.e. *ecrt_maste

[etherlab-users] RTAI + DC: Extremely poor and inconsistent performance.

2018-10-25 Thread Mohsen Alizadeh Noghani
Hello everyone. I can't consistently run a very simple EtherLab RTAI code with distributed clocks at more than about 100 Hz! If I increase the frequency, I usually get the EtherCAT error: *AL status message 0x0032: "PLL error

Re: [etherlab-users] Where, in the application cycle, should I call ecrt_master_64bit_reference_clock_time/queue?

2018-10-25 Thread Gavin Lambert
ecrt_master_64bit_reference_clock_time_queue must be called at any point prior to calling ecrt_master_send. ecrt_master_64bit_reference_clock_time must be called following some previous calls to ecrt_master_64bit_reference_clock_time_queue, ecrt_master_send, and ecrt_master_recv (in that order)

[etherlab-users] Failed to get reference clock time: Input/output error

2018-10-25 Thread Mohsen Alizadeh Noghani
Hello everyone. When I call *ecrt_master_reference_clock_time -*right after *ecrt_master_sync_slave_clocks()- *in my userspace code, I get the following error every cycle. *Failed to get reference clock time: Input/output error.* I'm using stable-1.5 branch. Has anyone been able to resolve this iss