Argonne National Laboratory

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

Subject: dm colour rules with -ve values
From: David Terrett <dlt@star.rl.ac.uk>
To: tech-talk@aps.anl.gov
Date: Thu, 12 Sep 1996 10:01:28 +0100 (BST)
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
D.Terrett@rl.ac.uk               Chilton, Didcot
                                 Oxfordshire
Tel: +44-1235-446478             OX11 0QX
Fax: +44-1235-445848             United Kingdom


References:
Developments regarding PC hardward and software platforms Bob Dalesio

Navigate by Date:
Prev: 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 
Navigate by Thread:
Prev: Developments regarding PC hardward and software platforms Bob Dalesio
Next: Re: bug in dbStaticLib Rozelle Wright
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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·