Experimental Physics and Industrial Control System
|
Subject: |
Ways to know if instrument connected via TCP/IP through StreamDevice has lost connection |
From: |
"Wang, Andrew via Tech-talk" <tech-talk at aps.anl.gov> |
To: |
EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: |
Fri, 9 Dec 2022 02:21:44 +0000 |
Hi all,
Basically, I was wondering if there is a better way to know if communication to an instrument
has been lost. I understand that this can be done either by simplying looking at the IOC shell for disconnection errors or checking if the STAT field is set to COMM.
I was wondering if there is another method of determining if the instrument is still connected or not besides the two methods described above. Additionally, I would like to have a record called "is_instrument_connected", that holds a value like 1 to indicate
the instrument is connected and a 0 if it is not. I feel like there is a better way than me trying to use a calcout record and check if any record has its STAT field set to COMM. Like, is it possible to monitor for connection status without needing to process
a record whose device type is StreamDevice and check its STAT field?
Thank you,
Andy
|
- Replies:
- Re: Ways to know if instrument connected via TCP/IP through StreamDevice has lost connection Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: Using one substitution file for multiple template files Wang, Andrew via Tech-talk
- Next:
Re: Ways to know if instrument connected via TCP/IP through StreamDevice has lost connection Mark Rivers 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>
2023
2024
- Navigate by Thread:
- Prev:
Re: [EXTERNAL] Phoebus Rules for Tooltips Kasemir, Kay via Tech-talk
- Next:
Re: Ways to know if instrument connected via TCP/IP through StreamDevice has lost connection Mark Rivers 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>
2023
2024
|
ANJ, 08 Dec 2022 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|