Re: How to tune one shot time period

Paolo Mantegazza <[email protected]>
Newsgroups gmane.linux.real-time.rtai
Message-ID <VI1PR06MB14716D00DED96FBCE5FA3C4890E10@VI1PR06MB1471.eurprd06.prod.outlook.com>
How do you set the period, i.e:  what RTAI timing function do you use for that? 
Paolo
________________________________________
From: Rtai [[email protected]] on behalf of Randy Ricklefs [[email protected]]
Sent: Friday, December 18, 2015 7:37 PM
To: [email protected]
Subject: [Rtai] How to tune one shot time period

Hi,

I am working on a project that requires a 100msec loop that has a drift
of no more than about 100usec per hour. I am using the oneshot mode with
RTAI 4.1 with kernel 3.10.32 on an i7 computer, and the 100msec period
is very stable (+/- a few usec), but compared to the system time and UTC
is actually larger than 100msec by an amount than creates a drift rates
close to 10msec every 10 or 20 minutes. I have tried varying the 100msec
period by small amounts to compensate, but the results are not
satisfactory. I understand there is a method of calibrating the timer
used for oneshots, but I have not found documentation of the procedure.
Once calibrated, will the period remain stable, or are there temperature
variations? Any help would be appreciated!

Thanks!

Best regards,
Randy Ricklefs
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.