Andrew Johnson wrote:
>In fact VAL is only set from RVAL if the device support routine returned
>0 (which the xy240 one does). The device support knows that it can read
>back the current output register contents from the hardware...
This issue also came up a couple of months ago in the context of the
VxWorks global variable device support. There was an _extensive_
discussion and in the end it was agreed (I believe!) that there was a
case for giving the creator of the database control over whether the
initial value came from the DOL field or from the underlying global
variable. So this is what was done in this specific case... but maybe a
more general solution is called for?
William
- Navigate by Date:
- Prev:
Re: forcing binary output value at initialization Andrew Johnson
- Next:
Re: forcing binary output value at initialization pate
- 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: forcing binary output value at initialization Andrew Johnson
- Next:
Re: forcing binary output value at initialization Ned Arnold
- 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
|