EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  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  1996  1997  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: Phoebus macro question
From: Jörn Dreyer via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 16 Apr 2024 09:12:28 +0200
Hi,

is it possible in phoebus to define a macro for a widget that calculates its value based on an input macro?

Assume I have defined a macro J that has the value 0. For the Widget I define a macro I that schould take the result of ${J} + 1.

Background: I need to create a screen that contains the 512 rows of a table with 4 columns. I have a single row defined in a file and created another file with a group of 32 rows.
Now for each of these rows I want to define I that runs from J to J+31.  So in the final screen I will have 16 embeded Displays of the block with J=0,32,64,96,...

Is t6here a way to format the macro definition such that it is not interpreted as a string, but evaluated as an expression?

Regards,

Jörn



Navigate by Date:
Prev: Data acquisition Pico 2406B 王鹏鹏 via Tech-talk
Next: streamdevice and input strings Pierrick M Hanlet via Tech-talk
Index: 1994  1995  1996  1997  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: Data acquisition Pico 2406B 王鹏鹏 via Tech-talk
Next: streamdevice and input strings Pierrick M Hanlet via Tech-talk
Index: 1994  1995  1996  1997  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
ANJ, 16 Apr 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·