Well that's true, however in the rtai_rtdm example there are many functions and variables rtai specific. I modified the code to match that of dc_user example with the B synchronization way, however I'm not sure if my way it's correct, that's why I sent the email. So that a novel example could be written and established in the examples/dc_user.c, or at least, that the author of the change (Graeme) could give his example, code of SYNC_MASTER_TO_REF adopted to dc_user, in the mailing list.
________________________________________ Από: etherlab-users <[email protected]> εκ μέρους του [email protected] <[email protected]> Στάλθηκε: Πέμπτη, 27 Σεπτεμβρίου 2018 1:00 μμ Προς: [email protected] Θέμα: etherlab-users Digest, Vol 135, Issue 8 Send etherlab-users mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.etherlab.org/mailman/listinfo/etherlab-users or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of etherlab-users digest..." Today's Topics: 1. Re: DC user example changed (Miceli Jean-Pierre) ---------------------------------------------------------------------- Message: 1 Date: Thu, 27 Sep 2018 07:49:20 +0000 From: Miceli Jean-Pierre <[email protected]> To: "[email protected]" <[email protected]> Subject: Re: [etherlab-users] DC user example changed Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" Hi Mike, hi all, Isn't the rtai_rtdm_dc example, with SYNC_MASTER_TO_REF macro enable, showing DC configured as in case B ? Thanks J-P -----Original Message----- From: etherlab-users [mailto:[email protected]] On Behalf Of Mike Karam Sent: vendredi, 21 septembre 2018 09:22 To: [email protected] Subject: [etherlab-users] DC user example changed Hi all, I'm using the etherlab-1.5.2, kernel 4.9 preempt_rt patched and e1000e card, and I have developed my main program based on dc_user.c from examples. However I saw some posts from Graeme Foot that proposes a better solution to the problem of dc synchronization, with the first slave having the reference clock and the master altering it's application time based on the reference time of the first slave. Graeme, can you provide us with a functional dc_user.c example with the proper lines changed, so that I can understand better the B case you are talking about (The TwinCAT default way)? I searched for any implementation but couldn't find any. Thanks in advance, Mike _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users ------------------------------ Subject: Digest Footer _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users ------------------------------ End of etherlab-users Digest, Vol 135, Issue 8 ********************************************** </[email protected]></[email protected]></[email protected]></[email protected]></[email protected]> _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
