EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  <19961997  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  <19961997  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: dm colour rules with -ve values
From: [email protected] (Deb Kerstiens)
To: [email protected], [email protected]
Date: Thu, 12 Sep 96 10:30:19 MDT

David wrote:

> I'm trying to use dm colour rules to change the colour of a text monitor
> according to the value of a database field of type double. For values of
> 0.0 or greater this works fine but I can't get it to work with negative
> values; it behaves as if the expression is always false.
> 
> The rule in the edd report looks like:
> 
>                 name="test"
>                 info[0] {
>                         chan="$(C)"
>                         value="-1.0"
>                         connector="use"
>                         comparator="less than"
>                         clr="1"
>                         RISCpad="0"
>                 }
> 
> Should this work ? If not, is there any other way of doing what I want ?
> 
> ===============================================================
> David Terrett                    Space Science Department
>                                  Rutherford Appleton Laboratory
> [email protected]               Chilton, Didcot
>                                  Oxfordshire
> Tel: +44-1235-446478             OX11 0QX
> Fax: +44-1235-445848             United Kingdom
> 
> 

It should work.  What version of edd/dm do you have?  I'll
check it out.

Deb
**********************************************************************
Deb Kerstiens		[email protected]
Phone			(505)667-3396
LANL AOT-8,MSH820	PO Box 1663, Los Alamos, NM. 87545 
**********************************************************************


Navigate by Date:
Prev: dm colour rules with -ve values David Terrett
Next: Re: CA connection Jeff Hill
Index: 1994  1995  <19961997  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: A tool to support development of GP-IB device support routine. Noboru Yamamoto
Next: Re: dm colour rules with -ve values Deb Kerstiens
Index: 1994  1995  <19961997  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