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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Question about the alive module
From: Dohn Arms via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 7 Jul 2021 00:02:31 -0500
>Dear all, 
>
>I start an soft IOC server in local computer and intend to monitor its running status by using alive record.
>
>The IP address of the soft IOC is 127.0.0.1, then for alive record I set:
>epicsEnvSet("ALIVE_SERVER","127.0.0.1") in st.cmd and I use its default example db as a test, then I start the alive record.
>
>My problem is when "dbpr aliveEx:alive", the SEVR is always INVALID, I have no idea if I miss something and which program should I need to install to make the alive record work.
>
>Thank you very much in advance and an example step for starting alive record is appreciated.

The alive record by itself isn't very useful.  You need a remote server that listens for the heartbeat UDP messages generated by the alive record, which is what is specified by ALIVE_SERVER above.  When I wrote the record, I assumed people would want to write their own remote server code for interacting with alive record from IOCs, although I'm not sure if that happened much. 

I released the server code as used by the BCDA group of the Advanced Photon Source earlier this year, which I wrote when I was in that group.  You can find information on it and how to use it at https://epics-alive-server.github.io/

About SEVR, I unfortunately ignored alarms when I wrote the record, as alarms didn't make sense for how it worked.  I will look into fixing those alarm fields.  So you can ignore SEVR being INVALID, as it doesn't signify a problem.

Dohn Arms


Navigate by Date:
Prev: P4P and epicscorelibs releases and notes Michael Davidsaver via Tech-talk
Next: CS-Studio syntax with tango servers as process variables Thiago Peixoto 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Question about the alive module neu lzf via Tech-talk
Next: Read I2C data with EPICS Steve Hu 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  <20212022  2023  2024 
ANJ, 07 Jul 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·