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 2025 | 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 2025 |
<== 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 |
-- E
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