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: dm macro arithmetic
From: Ian A Smith <[email protected]>
To: [email protected]
Date: Wed, 16 May 2001 15:15:50 -1000
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



Replies:
Re: dm macro arithmetic Bob Dalesio

Navigate by Date:
Prev: Re: vxWorks "lstLib" support under Solaris? Marty Kraimer
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 
Navigate by Thread:
Prev: Re: vxWorks "lstLib" support under Solaris? Marty Kraimer
Next: Re: dm macro arithmetic Bob Dalesio
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 ·