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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: phoebus LED in boolean button |
From: | "Manoussakis, Adamandios via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Pierrick M Hanlet <hanlet at fnal.gov> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Tue, 6 Apr 2021 00:29:45 +0000 |
Hi Pierrick, If I understand correctly you should be able to have a Boolean button in CSS and place the PV name of the BO record in the PV name property. When you run your GUI the button press will cause the BO to change state Off/On (0/1) in your
record. The Boolean Button in CSS actually has an LED in it but you could just have an LED in CSS that has the BO record PV name as well. This would mimic whatever the Boolean button is set to, similar to what I have below (top is Boolean button, bottom
is led) both set to loc://button (this would be your pv name in the pv property for each). If you plan to have your button write out to a device and then your bi will read from the device then just change pv property for led to that bi record name.
-----Original Message----- From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Pierrick M Hanlet via Tech-talk Sent: Friday, April 2, 2021 6:42 PM Subject: phoebus LED in boolean button Good evening, I'd like to use the boolean button to turn off/on a device with on bo record, e.g. setOffOn and change the LED color based on another bi record; e.g. readOffOn. I assumed that I could create a rule for this, but nothing I'm doing is
working. How does one normally do this? Many thanks, Pierrick -- Pierrick Hanlet Fermi National Accelerator Accelerator Front End Controls +1-630-840-5555 -- lab +1-312-687-4980 -- mobile "Whether you think you can or think you can't, you're right" -- Henry Ford |