Experimental Physics and Industrial Control System
Hello,
I am developing EPICS driver for reading and writing port.
It is working fine with SCAN is not set to I/O Intr. If i set SCAN to .1 second.... 1 second etc.. I is working fine.
But if i set SCAN = I/O Intr
and monitor with >>camonitor PORT_READ it gives out put
PORT_READ <undefined> 0 UDF INVALID
and even is changing port value doesn't read value.
The .db file content of longin record is as below
record (longin,"PORT_READ")
{
field(DESC, "New Variable")
field(DTYP, "asynInt32")
field(INP, "@asyn($(PORT),0) read")
field(SCAN, "I/O Intr")
}
I would like to know how to configure interrupt as it is working perfect with if SCAN sets to different value then I/O Intr.
Here "read" i am using as asyn reason in driver for reading.
Thanks
Vishnu
Catch India as it happens with the
Rediff News App. To download it for FREE,
click here
- Replies:
- RE: I/O Intr scanning Mark Rivers
- Navigate by Date:
- Prev:
write record device support ahwwq
- Next:
RE: write record device support Mark Rivers
- 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: write record device support Mark Rivers
- Next:
RE: I/O Intr scanning Mark Rivers
- 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