Hi,

Can we just feed rt_get_real_time_ns() to the ecrt_master_application_time directly?
like: ecrt_master_application_time(master, rt_get_real_time_ns())

In the DC RTAI example, the time is first read byrt_get_real_time_ns() to a tv variable.
Then at each cycle, tv variable is incremented as the expected cycle period.
Then it is given to ecrt_master_application_time(master, EC_TIMEVAL2NANO(tv)) at each cycle.

Why is this approache is used? It seems problematic due to the jitter of the periodic task period.

Best regards,
Oguz.

--
Oguz Dilmac
ARGE Bolumu

Bilko AS, R&D Department
====================================
Perpa Ticaret Merkezi B Blok Kat 13 Nr. 2568
TR-34384 Okmeydani Istanbul Turkey
Tel : +90 212 220 07 40  Fax :   +90 212 210 47 01
e-mail : odil...@bilko-automation.com
web site : http://www.bilko-automation.com

_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to