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  2010  <20112012  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  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Record Alarm/ AsynPortDriver
From: "Mark Rivers" <[email protected]>
To: "Rime Ateia" <[email protected]>, <[email protected]>
Date: Tue, 28 Jun 2011 05:37:47 -0500
What is the SCAN state of the underlying records?  It is periodic, passive, or I/O Intr.  If it is not I/O Intr then your driver should implement the readInt32 method (for example) and simply return a bad status from that function when the driver detects an error.  If you use the base class implementation of readInt32 then it is not possible to return an error status.
 
If the record is I/O Intr scanned it is not currently possible to put the record into alarm directly from the driver, but we are working on a fix for that limitation.
 
Mark
 

________________________________

From: [email protected] on behalf of Rime Ateia
Sent: Tue 6/28/2011 1:58 AM
To: [email protected]
Subject: Record Alarm/ AsynPortDriver


      

Hello,

 

We are using the AsynPortDriver to implement a device support. 

In some cases our requests at the lowest level to read values are either rejected or get a bad status. We would like to set these PVs to an invalid state.

Is there a way to modify the alarm status of a specific PV (ai) from this layer? Or how can we get the pointer to a specific PV in our code that uses the AsynPortDriver?




Thanks in advance

Rime




Replies:
Re: Record Alarm/ AsynPortDriver reem ateia
References:
Record Alarm/ AsynPortDriver Rime Ateia

Navigate by Date:
Prev: Re: Sequencer news: latest snapshot Benjamin Franksen
Next: Re: Sequencer news: latest snapshot Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Record Alarm/ AsynPortDriver Rime Ateia
Next: Re: Record Alarm/ AsynPortDriver reem ateia
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·