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
<2011>
2012
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
<2011>
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|