On 12/16/19 1:08 AM, dmnr infn via Tech-talk wrote:
> Hello everybody,
> I want to scan a variable with a polling time less than 20 msec (for example 10 msec) and I added a row inside the file menuScan.dbd but I received this error when I run my IOC:
>
> initPeriodic: Scan rate '.01 second' is not achievable.
>
> It seems that the max scan rate in my system with CentOS 7 is 20 msec. What can I do to reach a lower scan rate?
This message is in actuality a warning that a scan rate _may_ not be achievable.
It is still attempted.
https://github.com/epics-base/epics-base/blob/370b38e4c99057b579db94123071eaf69ac52445/modules/database/src/ioc/db/dbScan.c#L903-L907
A different message is seen when a scan thread actually isn't keeping up
for some reason.
https://github.com/epics-base/epics-base/blob/370b38e4c99057b579db94123071eaf69ac52445/modules/database/src/ioc/db/dbScan.c#L820-L825
The warning exists because software delays for such small intervals are not always
reliable. Especially on a general purpose OS like Linux.
Can you talk about your motivating use case?
Also which version of EPICS Base is involved?
- Replies:
- Re: Periodic scan rate less than 20 msec dmnr infn via Tech-talk
- References:
- Periodic scan rate less than 20 msec dmnr infn via Tech-talk
- Navigate by Date:
- Prev:
Re: Pfeiffer mass spectrometer Florian Feldbauer via Tech-talk
- Next:
Re: Periodic scan rate less than 20 msec dmnr infn via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Periodic scan rate less than 20 msec dmnr infn via Tech-talk
- Next:
Re: Periodic scan rate less than 20 msec dmnr infn via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|