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  2011  2012  <20132014  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  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: I/O Intr scanning
From: "Vishnu Patel" <[email protected]>
To: "[email protected]" <[email protected]>
Date: 11 Mar 2013 14:10:15 -0000
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  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·