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: RE: Including a blinking LED in my Phoebus CSS GUI
From: GAGET Alexis via Tech-talk <tech-talk at aps.anl.gov>
To: "Meddage, Varuna" <meddage at phys.ksu.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 20 Apr 2023 14:21:04 +0000
Hi,
In phoebus, when you click on the icon "open", you can open "Example Display", and there there is a ton of examples, including LED examples. You can probably find what you want here.

And to answer approximatively I think you can make some kind of widget rule with the intersection of your ALARM and a simulated PV:
PV.ALARM="MAJOR" and sim://ramp(0,1,1)  then background_color = green else darker_green

Sim://ramp(0,1,1) = ramp from 0 to 1 every 1 second 

Maybe there is a more direct way

Cheers

-----Message d'origine-----
De : Tech-talk <tech-talk-bounces at aps.anl.gov> De la part de Meddage, Varuna via Tech-talk
Envoyé : jeudi 20 avril 2023 15:57
À : tech-talk at aps.anl.gov
Objet : Including a blinking LED in my Phoebus CSS GUI

Hi,


I do have a LED in my Phoebus CSS GUI which shows the alarm status of a PV. I like to make this LED blinks when this PV at "MAJOR" alarm status and stops blinking when the severity is not at "MAJOR" alarms status.


I am wondering whether there is some procedure to accomplish this ?


Thanks

Varuna Meddage

References:
Including a blinking LED in my Phoebus CSS GUI Meddage, Varuna via Tech-talk

Navigate by Date:
Prev: Including a blinking LED in my Phoebus CSS GUI Meddage, Varuna via Tech-talk
Next: Re: Search all PV available Blomley, Edmund (IBPT) 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: Including a blinking LED in my Phoebus CSS GUI Meddage, Varuna via Tech-talk
Next: opc ua client Sinclair, John 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, 20 Apr 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·