EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  <20012002  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  <20012002  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 macro arithmetic
From: "Bob Dalesio" <[email protected]>
To: Ian A Smith <[email protected]>, [email protected]
Date: Thu, 17 May 2001 12:20:42 -0600
Sorry Ian, the macro expansion does not handle the
arithmetic. It seems like a reasonable extension. If you
make this, please let us know.
Regrets,
Bob

On Wed, 16 May 2001 15:15:50 -1000
 Ian A Smith <[email protected]> wrote:
> Hi,
> 
> I'd like to use macro arithmatic in my display but can't
> see how it 
> might work.  For example,
> 
> dm mydisplay.dl b=32
> 
> the display would have 10 monitors attached to m32.VAL,
> m33.VAL, m34.VAL....
> 
> so the edm properties would be m$(b).VAL, m$(b+1).VAL,
> m$(b+2).VAL...
> 
> I tried the above syntax, in a text object and got
> "m$(b+1)" displayed 
> instead of "m33".  m$(b) did properly display "m32".
> 
> Is there any hope?
> 
> Thanks
> 
> Ian A Smith					Telephone: (808) 961 3756
> Joint Astronomy Centre				Fax:       (808) 961 6516
> 660 N. A'ohoku Place					   (808) 969 6591
> University Park					Web: http://www.jach.hawaii.edu
> Hilo
> Hawaii
> 96720
> 

Bob Dalesio
[email protected]
410 557 0297 Maryland
505 667 3414 Los Alamos
505 699 1632 Cell Phone
505 667 6087 Our Secretary (Karen)


References:
dm macro arithmetic Ian A Smith

Navigate by Date:
Prev: VxWorks and MVME162-PA344 Joachim . Rahn
Next: passing a string to a subroutine record Geoff Savage
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  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: dm macro arithmetic Ian A Smith
Next: VxWorks and MVME162-PA344 Joachim . Rahn
Index: 1994  1995  1996  1997  1998  1999  2000  <20012002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
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 ·