EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: asyn record support - output
From: Marty Kraimer <[email protected]>
To: Heinrich du Toit <[email protected]>
Cc: TechTalk EPICS <[email protected]>
Date: Sat, 30 Jun 2007 08:39:31 -0400
Heinrich du Toit wrote:
Hi

Now on one such register for writing I've put a longout record.
As this register will configure the device I want to put in a default
value in the .db file.
so I added the DOL field to the longout register. (this will set the
default VAL of the record and it does)
But when the system initializes the thing goes and READ this register
using the driver. This not only overwrites the default value. It also
gives some garbage as the device can be in unknown state.

As Mark suggests, the driver should handle this register as a special case.

One way the solve the problem is via the st.cmd configuration command for the driver.
Add an extra argument, which is the initialization value for the configuration register.
Do the initialization either when the configuration command is executed or during the first port connect.


Marty
References:
asyn record support - output Heinrich du Toit

Navigate by Date:
Prev: Re: GPIB Ethernet gateway recommendation Rod Nussbaumer
Next: waveform binary init Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: asyn record support - output Mark Rivers
Next: Re: Ethernet/IP Device Support and CompactLogix Mike Forster
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·