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: Re: dm colour rules with -ve values
From: kerstien@luke.atdiv.lanl.gov (Deb Kerstiens)
To: tech-talk@aps.anl.gov, dlt@star.rl.ac.uk
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
> D.Terrett@rl.ac.uk               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		dkerstiens@lanl.gov
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 
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 
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 ·