adding to this
On 2019-01-22 6:50 AM, Matt Newville via Tech-talk wrote:
>
>
> On Tue, Jan 22, 2019 at 3:59 AM Bo Jakobsen via Tech-talk
> <[email protected] <mailto:[email protected]>> wrote:
>
> Hi all
>
> I am looking for a "simple alarm monitor".
> The ones I found all seems to be to large a framework to set up for
> what I am trying to do on a small scale.
>
> I would just like a monitor program which monitors a small number of
> PV's (order of 50)
>
> * Writes to a log when the PV goes into or out of Alarm status
>
> * Potentially can call a external program the an alarm happens (for
> e.g. sending a text messeage or mail).
>
> I was considering to write something in python, but if something
> like this already exists that would be easier :-)
>
>
> Will http://pyepics.github.io/pyepics/alarm.html#alarm-example ; help?
> It's not quite a real app, but a simple enough script that it could be
> turned into an app for 50-ish PVs pretty easily.
>
> --Matt
>
The python *logging* package is a great choice to write to the log as
desired.
Still, you'll need to write some python code to put these parts together.
Pete
--
----------------------------------------------------------
Pete R. Jemian, Ph.D. <[email protected]>
Beam line Controls and Data Acquisition (BC, aka BCDA)
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 3189
-----------------------------------------------------------
Education is the one thing for which people
are willing to pay yet not receive.
-----------------------------------------------------------
- References:
- Simple alarm monitor Bo Jakobsen via Tech-talk
- Re: Simple alarm monitor Matt Newville via Tech-talk
- Navigate by Date:
- Prev:
Re: Simple alarm monitor Kasemir, Kay via Tech-talk
- Next:
Re: Segmentation Fault when exiting certain Area Detector IOCs Wlodek, Jakub 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: Simple alarm monitor Matt Newville via Tech-talk
- Next:
Re: Simple alarm monitor Kasemir, Kay 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
|