EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: device support PINI problem
From: "Mark Rivers" <[email protected]>
To: "John Dobbins" <[email protected]>, "EPICS Tech-Talk" <[email protected]>
Date: Sun, 11 Apr 2010 21:47:28 -0500
Is there some initialization of your Opto22 device support that might not have happened yet when records with PINI=1 process?  How and when does any initialization occur?
 
Mark
 

________________________________

From: [email protected] on behalf of John Dobbins
Sent: Sun 4/11/2010 7:06 PM
To: EPICS Tech-Talk
Subject: device support PINI problem



All,

I have a puzzle that I'm not sure where to begin with. I've written
device support for Opto22 remote I/O based on Opto22 provided libraries.
I have been using it for a few years without trouble until the other day
I set PINI = 1 on an output record. It turns out I haven't needed to do
this  before. The the record got stuck in a funny state with UDF = 1, if
I subsequently write to the record the new value appears there but not
in hardware. Also, these output records do a read from remote hardware
during record init so I'm surprised that I should have a problem later,
i.e. during initialProcess(). If PINI is not set I can write to the
record and hardware without problem. Any ideas where to begin?

Thanks,

John Dobbins
Cornell Laboratory for Accelerator-based Science and Education





Replies:
Re: device support PINI problem John Dobbins
References:
device support PINI problem John Dobbins

Navigate by Date:
Prev: device support PINI problem John Dobbins
Next: Re: device support PINI problem John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: device support PINI problem John Dobbins
Next: Re: device support PINI problem John Dobbins
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·