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  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== 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

 

Purple ribbon awareness

 


Replies:
Re: Other approaches to disabling a record from processing if there is no connection? Ralph Lange via Tech-talk

Navigate by Date:
Prev: Differences between using disconnectOnReadTime in asynSetOption and asyn record Wang, Andrew via Tech-talk
Next: Fwd: MongoDB Implementation using EPICS 7 Pete Jemian via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: RE: Differences between using disconnectOnReadTime in asynSetOption and asyn record Wang, Andrew via Tech-talk
Next: Re: Other approaches to disabling a record from processing if there is no connection? Ralph Lange via Tech-talk
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  <20232024 
ANJ, 23 Mar 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·