EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Reading a synchronous input with an asynchronous device.
From: Emmanuel Mayssat <[email protected]>
To: Ned Arnold <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 17 Mar 2005 10:23:35 -0800
Additional info:

In my specific case, the signal to process is a diagnostic signal.
So it doesn't need to be read permanently. Let's say once every 30 sec, I process the input. Actually I was thinking about having another record to turn on or off the record processing.


I have 40 of those inputs.

A hardware solution would definitely be better, but because of space, cost, and time considerations it was decided that I, the software programmer, would take care of it.

--
E

Ned Arnold wrote:
Two suggestions ...

1) Since you are looking for a transition, choose a TTL input module whose inputs can be configured to generate an interrupt on a transistion, have this interrupt process a calc record that simply increments, and have another calc record that makes sure the first calc record increments at least 100 times over a second (or 10 times every .1 second).

2) OR, add a little FPGA circuit (or a timer relay) that expects a transition every 10 milliseconds (a simple watchdog) and use this output to drive the digital input. This is preferred because it eliminates 100Hz processing of records.


Ned


References:
Browsing the ioc error log file Ned Arnold
Re: Browsing the ioc error log file Ralph Lange
Reading a synchronous input with an asynchronous device. Emmanuel Mayssat
Re: Reading a synchronous input with an asynchronous device. Ned Arnold

Navigate by Date:
Prev: Re: Reading a synchronous input with an asynchronous device. Ned Arnold
Next: R3.14.7 errlog problem Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Reading a synchronous input with an asynchronous device. Ned Arnold
Next: RE: Browsing the ioc error log file Gournay Jean-Francois
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  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 ·