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 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
<== Date ==> <== Thread ==>

Subject: Re: Fwd: CSS binary color text
From: Miguel <miguel.b.fernandes@gmail.com>
To: tech-talk@aps.anl.gov
Date: Thu, 20 Apr 2017 15:44:31 +0100

I also need to click over it to change the state.

The only way i have so far is in fact to use the Image boolean button. I set the one severity field (OSV) to major .Then set in CSS the foreground to green and checked the ForeColor Alarm Sensitive to yes.

But I am still not able to automatically use the ONAME and ZNAME fields in CSS so I have to manually set the ON and OFF label.


Thanks


On 18-04-2017 11:35, Luca Cavalli wrote:
Hi Miguel,

if you need to display only a text label you can use a Text Update widget with the transparent flag set, plus (as already suggested) a rule to change foreground color upon PV value.

Cheers,

Luca


On Fri, 2017-04-14 at 19:15 +0100, Miguel wrote:
Hello,
I would like to do two things with my bo records in CSS.

1. Have a text that is according to the ONAM and ZNAM pv fields.

2. That this text is green in case of on and red othwerwise


I only manage to do something similiat with an image boolean button
(with no image and ON OFF predefined text)

Thanks

 



<< Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione. Quanto precede ai fini del rispetto delle Legge 675/96 e del Decreto Legislativo 30/06/2003 n.196, sulla tutela dei dati personali >>

<< This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +3902380481 or email it@cgspace.it if you need assistance >>
 



References:
Fwd: CSS binary color text Miguel
Re: Fwd: CSS binary color text Luca Cavalli

Navigate by Date:
Prev: ioc epics Al Baradan, Suraka
Next: REceive only emails that i sent Miguel
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
Navigate by Thread:
Prev: Re: Fwd: CSS binary color text Luca Cavalli
Next: Re: CSS binary color text Southern, Tim
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
ANJ, 21 Apr 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·