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: | Other approaches to disabling a record from processing if there is no connection? |
From: | "Wang, Andrew via Tech-talk" <tech-talk at aps.anl.gov> |
To: | EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Thu, 23 Mar 2023 13:02:40 +0000 |
HI all, Basically, I am wondering if there is a better way to disable records from processing if a port has been disconnected. What I am currently doing is setting the SDIS field of those records to the CNCT field of an asyn record. Additionally,
I also set the DISV field to be 0. If CNCT is “disconnected”, then the records would be disabled because the DISA and DISV fields contain the same values. I am curious to know if there are alternative or potentially better way to do the very same thing. Thank you, Andy |