> On Jun 23, 2015, at 1:36 AM, Stephen Paul <[email protected]> wrote:
>
> Instead , I first want a record and its device support to read all the channels from the board in one go and then pass these values to individual 32 ai records for conversion.
>
> Can anyone suggest what type of record I can use before ai record to achieve this ?
Rather then a record for reading all of the hardware values, your device driver can have a worker thread responsible for reading from the hardware. This can be scheduled either periodically or based on some trigger. Your ai records would then read from the cached values from this worker thread rather then directly from the hardware. There are a number of drivers which take this approach, typically with more complicated hardware with a large number of registers to be read, or having a variety of different data types to support.
--
Steven Hartman
[email protected]
- Replies:
- Re: multi-channel analog i/p Stefen Paul
- References:
- multi-channel analog i/p Stephen Paul
- Navigate by Date:
- Prev:
multi-channel analog i/p bob dalesio
- Next:
RE: multi-channel analog i/p Mark Rivers
- 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:
RE: multi-channel analog i/p nick.rees
- Next:
Re: multi-channel analog i/p Stefen Paul
- 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
|